Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001449/0.001449, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9751/0.9764, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004724/0.9812, allocations: 2.889 MB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.9844, allocations: 2.227 MB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.9846, allocations: 4 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.9854, allocations: 258.4 kB / 1.214 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.9856, allocations: 75.28 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.9866, allocations: 479.2 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.9871, allocations: 0.5258 MB / 1.215 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.9873, allocations: 44.73 kB / 1.215 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.9875, allocations: 199.4 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.9877, allocations: 219.2 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.9878, allocations: 40 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.9882, allocations: 255.7 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.9884, allocations: 159.6 kB / 1.216 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.9886, allocations: 210.9 kB / 1.216 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007258/0.9893, allocations: 0.7497 MB / 1.217 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9893, allocations: 0 / 1.217 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9893, allocations: 0 / 1.217 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.9893, allocations: 0 / 1.217 GB, free: 5.496 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001305/0.9907, allocations: 0.836 MB / 1.217 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.9907, allocations: 8.031 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.9928, allocations: 240.1 kB / 1.218 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.9933, allocations: 422 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.9935, allocations: 83.92 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.9935, allocations: 12.38 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.9948, allocations: 0.5372 MB / 1.219 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9948, allocations: 0 / 1.219 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.9949, allocations: 4 kB / 1.219 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.9949, allocations: 4 kB / 1.219 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.9969, allocations: 0.7611 MB / 1.219 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.9991, allocations: 1.273 MB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/1.005, allocations: 1.013 MB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.006, allocations: 392.7 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/1.006, allocations: 7.984 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/1.007, allocations: 0.534 MB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 3.096e-06/1.007, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.003254/1.01, allocations: 1.182 MB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/1.01, allocations: 59.41 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/1.011, allocations: 0.5174 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/1.011, allocations: 33.7 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/1.011, allocations: 204.4 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.011, allocations: 63.02 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.011, allocations: 69.66 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.012, allocations: 354.8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/1.013, allocations: 468.5 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.014, allocations: 497.4 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/1.016, allocations: 0.7618 MB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.016, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002476/1.018, allocations: 1.08 MB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.018, allocations: 37.69 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.018, allocations: 4 kB / 1.228 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.018, allocations: 7.938 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/1.019, allocations: 87.83 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.019, allocations: 8 kB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/1.02, allocations: 55.92 kB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/1.02, allocations: 15.92 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0002912/1.02, allocations: 217.7 kB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/1.02, allocations: 43.44 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/1.02, allocations: 51.91 kB / 1.228 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.02, allocations: 3.938 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.02, allocations: 0 / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/1.02, allocations: 192.4 kB / 1.228 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/1.02, allocations: 8 kB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/1.021, allocations: 67.91 kB / 1.228 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/1.021, allocations: 19.97 kB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002576/1.024, allocations: 0.9244 MB / 1.229 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002175/1.026, allocations: 0.9782 MB / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001018/1.027, allocations: 410.3 kB / 1.231 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000419/1.027, allocations: 391.1 kB / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/1.027, allocations: 0 / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001818/1.029, allocations: 0.681 MB / 1.232 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001303/1.03, allocations: 1.181 MB / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.01778/1.048, allocations: 10.92 MB / 1.244 GB, free: 9.566 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches