Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001647/0.001647, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.8429, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.004334/0.8473, allocations: 3.351 MB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.8515, allocations: 3.253 MB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.8518, allocations: 4.375 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.8532, allocations: 0.525 MB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.8535, allocations: 123.7 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.8556, allocations: 0.7048 MB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.8576, allocations: 1.646 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.858, allocations: 251.7 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009055/0.8589, allocations: 0.5755 MB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.8598, allocations: 0.5932 MB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.8601, allocations: 136.7 kB / 1.1 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.8617, allocations: 0.6538 MB / 1.1 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006783/0.8624, allocations: 0.6002 MB / 1.101 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009456/0.8633, allocations: 0.8465 MB / 1.102 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.8683, allocations: 3.409 MB / 1.105 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.8683, allocations: 2 kB / 1.105 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8683, allocations: 0 / 1.105 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.096e-05/0.8684, allocations: 0 / 1.105 GB, free: 13.03 MB / 0.8731 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.004511/0.8729, allocations: 2.092 MB / 1.107 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.873, allocations: 8.844 kB / 1.107 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/0.8795, allocations: 0.6453 MB / 1.108 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.8827, allocations: 1.561 MB / 1.109 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.8829, allocations: 137.8 kB / 1.109 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.8831, allocations: 31.19 kB / 1.109 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.8871, allocations: 1.887 MB / 1.111 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.8871, allocations: 0 / 1.111 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8873, allocations: 13.11 kB / 1.111 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.8873, allocations: 10.72 kB / 1.111 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005874/0.8932, allocations: 2.621 MB / 1.114 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.9033, allocations: 4.566 MB / 1.118 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.9142, allocations: 2.895 MB / 1.121 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.917, allocations: 1.184 MB / 1.122 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/0.9171, allocations: 22.92 kB / 1.122 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003786/0.9209, allocations: 1.79 MB / 1.124 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 4.138e-06/0.9209, allocations: 0 / 1.124 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.009509/0.9305, allocations: 3.623 MB / 1.127 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.9306, allocations: 100.1 kB / 1.128 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/0.936, allocations: 2.693 MB / 1.13 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/0.9364, allocations: 51.17 kB / 1.13 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/0.9372, allocations: 0.6708 MB / 1.131 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.9375, allocations: 178 kB / 1.131 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.938, allocations: 157.9 kB / 1.131 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9381, allocations: 327.4 kB / 1.132 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/0.9413, allocations: 1.462 MB / 1.133 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.9445, allocations: 1.433 MB / 1.134 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005206/0.9497, allocations: 2.211 MB / 1.137 GB, free: 408 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9497, allocations: 0 / 1.137 GB, free: 408 kB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006991/0.9567, allocations: 2.981 MB / 1.139 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.9568, allocations: 85.45 kB / 1.14 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.9569, allocations: 4 kB / 1.14 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.9569, allocations: 2.812 kB / 1.14 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.9583, allocations: 184.7 kB / 1.14 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9583, allocations: 3.031 kB / 1.14 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.9602, allocations: 118 kB / 1.14 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.9604, allocations: 48.78 kB / 1.14 GB, free: 15.16 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.cooCap.checkBoundsTCon[4],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.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.001798/0.9622, allocations: 0.7623 MB / 1.141 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/0.963, allocations: 168.6 kB / 1.141 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/0.9695, allocations: 2.661 MB / 1.143 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.9695, allocations: 9.297 kB / 1.143 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9695, allocations: 0 / 1.143 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.9711, allocations: 0.5834 MB / 1.144 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007253/0.9719, allocations: 57.16 kB / 1.144 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/0.9738, allocations: 118.2 kB / 1.144 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.974, allocations: 60.45 kB / 1.144 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006542/0.9805, allocations: 2.606 MB / 1.147 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006218/0.9868, allocations: 2.697 MB / 1.149 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002645/0.9894, allocations: 1.241 MB / 1.151 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004397/0.9939, allocations: 1.931 MB / 1.152 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of Backend: time 9.41e-07/0.9939, allocations: 0 / 1.152 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006201/1, allocations: 2.036 MB / 1.154 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of SimCode: time 0.007176/1.007, allocations: 3.702 MB / 1.158 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of Templates: time 0.06081/1.068, allocations: 37.35 MB / 1.195 GB, free: 1.711 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches