Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001322/0.001322, allocations: 116 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.001387/0.001388, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7873, allocations: 151.6 MB / 1.167 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004065/0.7914, allocations: 2.885 MB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003498/0.7949, allocations: 2.212 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.7952, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.7962, allocations: 262.4 kB / 1.173 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.7965, allocations: 79.28 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.7979, allocations: 486.2 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008278/0.7987, allocations: 0.5219 MB / 1.174 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.7989, allocations: 48.72 kB / 1.174 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.7993, allocations: 207.4 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.7996, allocations: 203.3 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.7998, allocations: 40 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.8003, allocations: 247.7 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.8005, allocations: 167.5 kB / 1.175 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.8008, allocations: 214.9 kB / 1.175 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009938/0.8018, allocations: 0.7564 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8018, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8018, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.8018, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 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.001766/0.8036, allocations: 0.8551 MB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8036, allocations: 12.88 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.8058, allocations: 236.4 kB / 1.177 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.8065, allocations: 430.3 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.8066, allocations: 79.95 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.8067, allocations: 12.36 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.808, allocations: 0.5347 MB / 1.178 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.808, allocations: 3.938 kB / 1.178 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.808, allocations: 4 kB / 1.178 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8081, allocations: 7.938 kB / 1.178 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.8101, allocations: 0.7533 MB / 1.178 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.8125, allocations: 1.273 MB / 1.18 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/0.8179, allocations: 1.021 MB / 1.181 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.8189, allocations: 396.6 kB / 1.181 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.819, allocations: 11.98 kB / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.8203, allocations: 0.5273 MB / 1.181 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 3.657e-06/0.8203, allocations: 0 / 1.181 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.003218/0.8236, allocations: 1.182 MB / 1.183 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8236, allocations: 59.39 kB / 1.183 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.8243, allocations: 0.5135 MB / 1.183 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.8244, allocations: 33.7 kB / 1.183 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.8246, allocations: 200.5 kB / 1.183 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/0.8247, allocations: 71.42 kB / 1.183 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.8249, allocations: 65.67 kB / 1.183 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.825, allocations: 358.8 kB / 1.184 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.8262, allocations: 464.5 kB / 1.184 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.8273, allocations: 0.4942 MB / 1.185 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.8293, allocations: 0.7619 MB / 1.186 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8293, allocations: 0 / 1.186 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002661/0.832, allocations: 1.073 MB / 1.187 GB, free: 52 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.8321, allocations: 41.69 kB / 1.187 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8321, allocations: 0 / 1.187 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.8321, allocations: 4.203 kB / 1.187 GB, free: 16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.8328, allocations: 95.75 kB / 1.187 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.8328, allocations: 4 kB / 1.187 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.8334, allocations: 63.83 kB / 1.187 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.8335, allocations: 23.91 kB / 1.187 GB, free: 15.81 MB / 0.92 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.0003876/0.8339, allocations: 210.9 kB / 1.187 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.834, allocations: 47.7 kB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.8342, allocations: 47.92 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8342, allocations: 3.938 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8342, allocations: 4 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.8345, allocations: 188.7 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.8346, allocations: 11.98 kB / 1.187 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.8352, allocations: 67.92 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8353, allocations: 19.97 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002719/0.838, allocations: 0.912 MB / 1.188 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002309/0.8404, allocations: 0.9845 MB / 1.189 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00104/0.8414, allocations: 407.7 kB / 1.19 GB, free: 12.88 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005299/0.842, allocations: 391.1 kB / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of Backend: time 2.214e-06/0.842, allocations: 0 / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.844, allocations: 0.6964 MB / 1.191 GB, free: 11.79 MB / 0.92 GB Notification: Performance of SimCode: time 0.001588/0.8456, allocations: 1.19 MB / 1.192 GB, free: 10.55 MB / 0.92 GB Notification: Performance of Templates: time 0.02064/0.8663, allocations: 10.91 MB / 1.202 GB, free: 15.71 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches