Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 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.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004927/0.004927, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001123/0.001123, allocations: 197.5 kB / 16.67 MB, free: 5.52 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8426, allocations: 140.4 MB / 1.088 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003653/0.8463, allocations: 2.903 MB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.8493, allocations: 2.235 MB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.8494, allocations: 3.188 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.8502, allocations: 259.6 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.8504, allocations: 86.62 kB / 1.093 GB, free: 1.969 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.001168/0.8516, allocations: 486.1 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.8522, allocations: 0.5133 MB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.8523, allocations: 58.77 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.8526, allocations: 196.8 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.8529, allocations: 208.8 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.055e-05/0.853, allocations: 41.09 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.8535, allocations: 255 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.8537, allocations: 159.1 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.854, allocations: 208 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.855, allocations: 0.7559 MB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.855, allocations: 1.719 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.855, allocations: 4 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.855, allocations: 0 / 1.096 GB, free: 0.8047 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001389/0.8564, allocations: 0.8389 MB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8564, allocations: 10.3 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.8588, allocations: 234.8 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.8595, allocations: 423 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.8597, allocations: 87.53 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.8597, allocations: 14.55 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.8612, allocations: 0.5312 MB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8613, allocations: 0 / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.8613, allocations: 5.922 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8613, allocations: 3.188 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.8636, allocations: 0.7609 MB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.8663, allocations: 1.271 MB / 1.1 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/0.8722, allocations: 1.007 MB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.8733, allocations: 401.8 kB / 1.102 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.8733, allocations: 13.31 kB / 1.102 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.8747, allocations: 0.5276 MB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.8747, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.003476/0.8782, allocations: 1.183 MB / 1.103 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.8783, allocations: 59.84 kB / 1.103 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.8789, allocations: 0.5174 MB / 1.104 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/0.879, allocations: 35.12 kB / 1.104 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.8792, allocations: 199.2 kB / 1.104 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.8793, allocations: 66.08 kB / 1.104 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.8795, allocations: 65.23 kB / 1.104 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8797, allocations: 362.5 kB / 1.104 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.8808, allocations: 469.1 kB / 1.105 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.8821, allocations: 0.493 MB / 1.105 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.8843, allocations: 0.7603 MB / 1.106 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8843, allocations: 0 / 1.106 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002764/0.887, allocations: 1.09 MB / 1.107 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.8871, allocations: 42.98 kB / 1.107 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8871, allocations: 0 / 1.107 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8871, allocations: 1.156 kB / 1.107 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.8879, allocations: 95.53 kB / 1.107 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8879, allocations: 1.75 kB / 1.107 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.8885, allocations: 61.34 kB / 1.107 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.8886, allocations: 14.77 kB / 1.107 GB, free: 12.09 MB / 0.8731 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.0004316/0.889, allocations: 208.9 kB / 1.108 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.8891, allocations: 49.61 kB / 1.108 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8892, allocations: 51.53 kB / 1.108 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8893, allocations: 6.25 kB / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.8893, allocations: 0.7031 kB / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.8893, allocations: 0.6094 kB / 1.108 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007486/0.89, allocations: 0.6523 MB / 1.108 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.89, allocations: 3.938 kB / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.8907, allocations: 87.39 kB / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.8907, allocations: 2.844 kB / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.8908, allocations: 11.11 kB / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8908, allocations: 2.031 kB / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8908, allocations: 0 / 1.108 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.8932, allocations: 0.8439 MB / 1.109 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.8935, allocations: 184 kB / 1.109 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.8936, allocations: 7.734 kB / 1.109 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.8942, allocations: 63.75 kB / 1.11 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.8943, allocations: 22.36 kB / 1.11 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.8944, allocations: 19.34 kB / 1.11 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005433/0.8949, allocations: 395.3 kB / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8949, allocations: 0 / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005021/0.8954, allocations: 96.94 kB / 1.11 GB, free: 10.86 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00038/0.8958, allocations: 149.2 kB / 1.11 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002541/0.8984, allocations: 0.9482 MB / 1.111 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8984, allocations: 1.062 kB / 1.111 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.8995, allocations: 422.1 kB / 1.112 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.9001, allocations: 95.34 kB / 1.112 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.9025, allocations: 1.057 MB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.9029, allocations: 0.857 MB / 1.113 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000477/0.9034, allocations: 127.2 kB / 1.114 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.9036, allocations: 51.3 kB / 1.114 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.9036, allocations: 0 / 1.114 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of Templates: time 0.01605/0.9197, allocations: 8.85 MB / 1.122 GB, free: 8.422 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches