Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009816, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006485/0.006486, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.181/3.181, allocations: 483.2 MB / 0.7564 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 7.875 kB / 0.9276 GB, free: 29.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3817, allocations: 164.5 MB / 1.088 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004194/0.3859, allocations: 2.751 MB / 1.091 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006119/0.392, allocations: 3.323 MB / 1.094 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.3925, allocations: 0 / 1.094 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.3944, allocations: 0.5641 MB / 1.095 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.3949, allocations: 119.2 kB / 1.095 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.3969, allocations: 0.5894 MB / 1.095 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.3989, allocations: 1.564 MB / 1.097 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.3993, allocations: 253.2 kB / 1.097 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.3999, allocations: 0.5215 MB / 1.098 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/0.4007, allocations: 0.572 MB / 1.098 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.4009, allocations: 80.05 kB / 1.098 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.402, allocations: 0.5734 MB / 1.099 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.4026, allocations: 0.5649 MB / 1.099 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008898/0.4035, allocations: 0.8411 MB / 1.1 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.407, allocations: 3.263 MB / 1.103 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.407, allocations: 0 / 1.103 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4071, allocations: 4 kB / 1.103 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.4071, allocations: 0 / 1.103 GB, free: 10.66 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003337/0.4104, allocations: 1.855 MB / 1.105 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4105, allocations: 8.031 kB / 1.105 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006679/0.4172, allocations: 0.6738 MB / 1.106 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.4202, allocations: 1.631 MB / 1.108 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.4204, allocations: 132.5 kB / 1.108 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4206, allocations: 36.3 kB / 1.108 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.4246, allocations: 1.903 MB / 1.11 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4247, allocations: 0 / 1.11 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.4248, allocations: 19.98 kB / 1.11 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.4248, allocations: 8 kB / 1.11 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006114/0.4309, allocations: 2.653 MB / 1.112 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009951/0.4409, allocations: 4.648 MB / 1.117 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.4519, allocations: 2.981 MB / 1.12 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/0.4549, allocations: 1.209 MB / 1.121 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-05/0.455, allocations: 20.41 kB / 1.121 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003716/0.4587, allocations: 1.796 MB / 1.123 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.4587, allocations: 0 / 1.123 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.009299/0.468, allocations: 3.704 MB / 1.126 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4682, allocations: 93.66 kB / 1.126 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004861/0.473, allocations: 2.767 MB / 1.129 GB, free: 188 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.4734, allocations: 53.7 kB / 1.129 GB, free: 128 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.4742, allocations: 0.6971 MB / 1.13 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.4745, allocations: 173.6 kB / 1.13 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4747, allocations: 57.69 kB / 1.13 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4748, allocations: 337.8 kB / 1.13 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/0.4779, allocations: 1.474 MB / 1.132 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/0.4808, allocations: 1.453 MB / 1.133 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/0.4859, allocations: 2.254 MB / 1.135 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.486, allocations: 0 / 1.135 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006642/0.4926, allocations: 3.022 MB / 1.138 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.4927, allocations: 83.31 kB / 1.138 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4927, allocations: 0 / 1.138 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4928, allocations: 0 / 1.138 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.4942, allocations: 199.7 kB / 1.139 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4942, allocations: 7.984 kB / 1.139 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4958, allocations: 123.4 kB / 1.139 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.496, allocations: 51.94 kB / 1.139 GB, free: 6.137 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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 0.001454/0.4974, allocations: 0.7802 MB / 1.139 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/0.4979, allocations: 177.8 kB / 1.14 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006401/0.5043, allocations: 2.716 MB / 1.142 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.5044, allocations: 4 kB / 1.142 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5044, allocations: 0 / 1.142 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5044, allocations: 7.984 kB / 1.142 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.5079, allocations: 2.323 MB / 1.145 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5079, allocations: 7.938 kB / 1.145 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.5093, allocations: 183.7 kB / 1.145 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.5093, allocations: 8 kB / 1.145 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.5094, allocations: 35.94 kB / 1.145 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.5094, allocations: 4 kB / 1.145 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5094, allocations: 0 / 1.145 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/0.5155, allocations: 2.606 MB / 1.147 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.5167, allocations: 0.5806 MB / 1.148 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.517, allocations: 59.97 kB / 1.148 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.5185, allocations: 143.9 kB / 1.148 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.5187, allocations: 56.48 kB / 1.148 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.5188, allocations: 43.94 kB / 1.148 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003441/0.5223, allocations: 1.98 MB / 1.15 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5223, allocations: 0 / 1.15 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001265/0.5236, allocations: 383.8 kB / 1.15 GB, free: 9.891 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.0006245/0.5242, allocations: 245.3 kB / 1.151 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006474/0.5307, allocations: 3.032 MB / 1.154 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5307, allocations: 0 / 1.154 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.5337, allocations: 1.365 MB / 1.155 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.5365, allocations: 449.2 kB / 1.155 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.5469, allocations: 4.62 MB / 1.16 GB, free: 116 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.5484, allocations: 1.604 MB / 1.162 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00241/0.5509, allocations: 0.6032 MB / 1.162 GB, free: 13.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.5514, allocations: 135.3 kB / 1.162 GB, free: 13.74 MB / 0.92 GB Notification: Performance of SimCode: time 9.92e-07/0.5514, allocations: 0 / 1.162 GB, free: 13.74 MB / 0.92 GB Notification: Performance of Templates: time 0.06318/0.6146, allocations: 31.04 MB / 1.193 GB, free: 14.92 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches