Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.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.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEvaIn.y|dxCoo.Q_flow|dxCoo.mWat_flow|dxCoo.SHR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 118.3 kB / 16.42 MB, free: 6.5 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.001139/0.00114, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.08 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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8558, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling): time 0.007015/0.8629, allocations: 6.516 MB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1894/1.052, allocations: 158 MB / 1.249 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/1.054, allocations: 14.19 kB / 1.249 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/1.057, allocations: 0.6411 MB / 1.25 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/1.06, allocations: 0.7614 MB / 1.251 GB, free: 7.875 MB / 0.9825 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.005377/1.065, allocations: 1.865 MB / 1.252 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005364/1.071, allocations: 5.023 MB / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/1.072, allocations: 0.8197 MB / 1.258 GB, free: 152 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/1.075, allocations: 1.803 MB / 1.26 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/1.078, allocations: 1.838 MB / 1.262 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.079, allocations: 0.5039 MB / 1.262 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/1.084, allocations: 2.122 MB / 1.264 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/1.085, allocations: 1.719 MB / 1.266 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003784/1.089, allocations: 2.505 MB / 1.268 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.101, allocations: 10.69 MB / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.101, allocations: 0 / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/1.101, allocations: 0 / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001842/1.101, allocations: 4 kB / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01407/1.115, allocations: 5.319 MB / 1.284 GB, free: 5.504 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.115, allocations: 12.02 kB / 1.284 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/1.147, allocations: 3.24 MB / 1.287 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.159, allocations: 4.805 MB / 1.292 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000678/1.16, allocations: 326.5 kB / 1.292 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/1.16, allocations: 100 kB / 1.292 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/1.176, allocations: 5.439 MB / 1.298 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/1.176, allocations: 0 / 1.298 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005736/1.176, allocations: 43.98 kB / 1.298 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/1.176, allocations: 20 kB / 1.298 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/1.199, allocations: 7.752 MB / 1.305 GB, free: 15.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03903/1.239, allocations: 15.27 MB / 1.32 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02803/1.267, allocations: 7.764 MB / 1.328 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/1.278, allocations: 3.564 MB / 1.331 GB, free: 4.934 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.279, allocations: 1.022 MB / 1.332 GB, free: 3.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01347/1.292, allocations: 4.874 MB / 1.337 GB, free: 14.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=137): time 5.881e-06/1.292, allocations: 0 / 1.337 GB, free: 14.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=137): time 0.05867/1.351, allocations: 12.52 MB / 1.349 GB, free: 2.207 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.351, allocations: 114.4 kB / 1.349 GB, free: 2.074 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/1.367, allocations: 7.874 MB / 1.357 GB, free: 10.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/1.368, allocations: 93.69 kB / 1.357 GB, free: 10.1 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/1.371, allocations: 1.663 MB / 1.359 GB, free: 8.426 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.372, allocations: 422 kB / 1.359 GB, free: 8.012 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/1.374, allocations: 418.5 kB / 1.36 GB, free: 7.598 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.374, allocations: 309.1 kB / 1.36 GB, free: 7.293 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01203/1.386, allocations: 4.387 MB / 1.364 GB, free: 2.898 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/1.398, allocations: 4.428 MB / 1.368 GB, free: 14.45 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02117/1.419, allocations: 6.643 MB / 1.375 GB, free: 7.777 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.419, allocations: 0 / 1.375 GB, free: 7.777 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.04472/1.464, allocations: 10.38 MB / 1.385 GB, free: 13.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/1.464, allocations: 129.1 kB / 1.385 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.464, allocations: 4 kB / 1.385 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005382/1.47, allocations: 1.164 MB / 1.386 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/1.476, allocations: 0.698 MB / 1.387 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.489, allocations: 11 MB / 1.398 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007335/1.496, allocations: 0.5685 MB / 1.398 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000764/1.497, allocations: 135.8 kB / 1.398 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01524/1.512, allocations: 6.09 MB / 1.404 GB, free: 8.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01194/1.524, allocations: 4.401 MB / 1.409 GB, free: 4.359 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02046/1.545, allocations: 6.635 MB / 1.415 GB, free: 13.69 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/1.545, allocations: 0 / 1.415 GB, free: 13.69 MB / 1.154 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.04215/1.587, allocations: 10.18 MB / 1.425 GB, free: 3.445 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/1.587, allocations: 133.1 kB / 1.425 GB, free: 3.297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.587, allocations: 3.938 kB / 1.425 GB, free: 3.293 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/1.591, allocations: 0.9844 MB / 1.426 GB, free: 2.289 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005641/1.597, allocations: 0.6864 MB / 1.427 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009625/1.607, allocations: 9.422 MB / 1.436 GB, free: 7.445 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007519/1.614, allocations: 0.5609 MB / 1.437 GB, free: 6.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007386/1.615, allocations: 119.8 kB / 1.437 GB, free: 6.766 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.stage,dxCoo.wetCoi.shr.on,dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.stage,$whenCondition17,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001303/1.616, allocations: 342.3 kB / 1.437 GB, free: 6.418 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/1.619, allocations: 418.7 kB / 1.437 GB, free: 6.004 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04237/1.661, allocations: 8.883 MB / 1.446 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/1.661, allocations: 7.984 kB / 1.446 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.661, allocations: 0 / 1.446 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005225/1.666, allocations: 1.62 MB / 1.448 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/1.668, allocations: 136 kB / 1.448 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007121/1.676, allocations: 0.5266 MB / 1.448 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004753/1.676, allocations: 137.1 kB / 1.449 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02863/1.705, allocations: 7.721 MB / 1.456 GB, free: 2.887 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03567/1.74, allocations: 12.36 MB / 1.468 GB, free: 6.484 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01055/1.751, allocations: 3.652 MB / 1.472 GB, free: 2.828 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01112/1.762, allocations: 5.607 MB / 1.477 GB, free: 13.22 MB / 1.217 GB Notification: Performance of Backend: time 9.12e-07/1.762, allocations: 4 kB / 1.477 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.03372/1.796, allocations: 12.27 MB / 1.489 GB, free: 0.75 MB / 1.217 GB Notification: Performance of SimCode: time 0.01637/1.812, allocations: 9.082 MB / 1.498 GB, free: 7.625 MB / 1.232 GB Notification: Performance of Templates: time 0.8391/2.651, allocations: 136.8 MB / 1.632 GB, free: 303.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DXCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches