Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 102.3 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 489 MB / 0.7678 GB, free: 16 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.101 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.999, allocations: 163.8 MB / 1.261 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002773/1.002, allocations: 0.8227 MB / 1.262 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/1.002, allocations: 39.78 kB / 1.262 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/1.002, allocations: 8 kB / 1.262 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/1.002, allocations: 7.875 kB / 1.262 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/1.002, allocations: 7.922 kB / 1.262 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.252e-05/1.002, allocations: 19.98 kB / 1.262 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/1.002, allocations: 63.78 kB / 1.262 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/1.003, allocations: 46.64 kB / 1.262 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/1.003, allocations: 27.84 kB / 1.262 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/1.003, allocations: 27.84 kB / 1.262 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/1.003, allocations: 4 kB / 1.262 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/1.003, allocations: 8 kB / 1.262 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/1.003, allocations: 11.94 kB / 1.262 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/1.003, allocations: 35.8 kB / 1.262 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/1.003, allocations: 79.58 kB / 1.262 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.003, allocations: 4 kB / 1.262 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/1.003, allocations: 0 / 1.262 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.003, allocations: 0 / 1.262 GB, free: 5.941 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006068/1.004, allocations: 387 kB / 1.263 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.004, allocations: 8.031 kB / 1.263 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/1.004, allocations: 38.75 kB / 1.263 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/1.004, allocations: 16.78 kB / 1.263 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/1.004, allocations: 200.1 kB / 1.263 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/1.004, allocations: 8.375 kB / 1.263 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/1.004, allocations: 8.375 kB / 1.263 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/1.005, allocations: 93.83 kB / 1.263 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.005, allocations: 3.938 kB / 1.263 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.005, allocations: 0 / 1.263 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.005, allocations: 4 kB / 1.263 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/1.005, allocations: 39.92 kB / 1.263 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/1.006, allocations: 436.6 kB / 1.263 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/1.006, allocations: 45.34 kB / 1.263 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/1.006, allocations: 17.78 kB / 1.263 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/1.006, allocations: 3.984 kB / 1.263 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.006, allocations: 38.56 kB / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/1.006, allocations: 0 / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/1.006, allocations: 57.52 kB / 1.264 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/1.006, allocations: 77.11 kB / 1.264 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/1.007, allocations: 164.5 kB / 1.264 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/1.007, allocations: 25.7 kB / 1.264 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/1.007, allocations: 100.3 kB / 1.264 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.007, allocations: 19.94 kB / 1.264 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/1.007, allocations: 9.719 kB / 1.264 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.007, allocations: 326.8 kB / 1.264 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/1.007, allocations: 8 kB / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/1.007, allocations: 13.72 kB / 1.264 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/1.007, allocations: 29.72 kB / 1.264 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.007, allocations: 0 / 1.264 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001228/1.007, allocations: 65.53 kB / 1.264 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.007, allocations: 7.938 kB / 1.264 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.007, allocations: 3.938 kB / 1.264 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.007, allocations: 0 / 1.264 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/1.007, allocations: 8 kB / 1.264 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.007, allocations: 0 / 1.264 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/1.007, allocations: 7.938 kB / 1.264 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.007, allocations: 4 kB / 1.264 GB, free: 3.441 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/1.008, allocations: 121.9 kB / 1.265 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/1.008, allocations: 11.89 kB / 1.265 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/1.008, allocations: 11.88 kB / 1.265 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.008, allocations: 0 / 1.265 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.008, allocations: 3.938 kB / 1.265 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/1.008, allocations: 3.938 kB / 1.265 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/1.008, allocations: 474.8 kB / 1.265 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.008, allocations: 0 / 1.265 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/1.008, allocations: 11.92 kB / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.008, allocations: 0 / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/1.008, allocations: 0 / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.008, allocations: 4 kB / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.008, allocations: 0 / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.585e-05/1.008, allocations: 77.95 kB / 1.265 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/1.008, allocations: 93.05 kB / 1.265 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.008, allocations: 0 / 1.265 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/1.008, allocations: 0 / 1.265 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/1.008, allocations: 0 / 1.265 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.008, allocations: 4 kB / 1.265 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001016/1.008, allocations: 123.2 kB / 1.265 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.008, allocations: 0 / 1.265 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001868/1.009, allocations: 4 kB / 1.265 GB, free: 2.398 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004517/1.009, allocations: 0.6172 MB / 1.266 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/1.009, allocations: 23.92 kB / 1.266 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.009, allocations: 160 / 1.266 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/1.009, allocations: 8 kB / 1.266 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.009, allocations: 9.719 kB / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/1.011, allocations: 1.33 MB / 1.267 GB, free: 288 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/1.011, allocations: 0.6924 MB / 1.268 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.228e-05/1.011, allocations: 12.36 kB / 1.268 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/1.011, allocations: 23.44 kB / 1.268 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/1.011, allocations: 0 / 1.268 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/1.039, allocations: 1.581 MB / 1.27 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/9.081, allocations: 6.344 kB / 1.27 GB, free: 14.05 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.358966551953927]