Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,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.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,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.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005064/0.005064, allocations: 100 kB / 15.73 MB, free: 6.016 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.001154/0.001154, allocations: 187.7 kB / 16.67 MB, free: 5.93 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.246/2.246, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.91 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8362/0.8376, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004358/0.8421, allocations: 2.358 MB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.8448, allocations: 1.854 MB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.845, allocations: 2.469 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.8457, allocations: 225.2 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.8459, allocations: 63.52 kB / 1.092 GB, free: 2.391 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.001093/0.847, allocations: 419.5 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.8475, allocations: 409.6 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.8477, allocations: 43.86 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.8479, allocations: 157.9 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.8481, allocations: 151.3 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.8482, allocations: 30.97 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.8486, allocations: 245.3 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.8488, allocations: 113.8 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.849, allocations: 167.7 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.8498, allocations: 0.6096 MB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8498, allocations: 0 / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8498, allocations: 0.8438 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.8498, allocations: 3.938 kB / 1.095 GB, free: 1.445 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001164/0.851, allocations: 0.7141 MB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8511, allocations: 9.812 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.8529, allocations: 163.4 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.8534, allocations: 373.5 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8536, allocations: 76.98 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.8536, allocations: 7.281 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.8548, allocations: 437 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8548, allocations: 1.031 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.8549, allocations: 5.406 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.8549, allocations: 0.8125 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.8567, allocations: 0.5837 MB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.8588, allocations: 1.047 MB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/0.8641, allocations: 0.8523 MB / 1.099 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008434/0.865, allocations: 312.1 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.865, allocations: 9.266 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.8662, allocations: 438 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.8662, allocations: 0 / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.003004/0.8692, allocations: 0.9254 MB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.8692, allocations: 58.66 kB / 1.1 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.8698, allocations: 431.9 kB / 1.101 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.8699, allocations: 34.84 kB / 1.101 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.87, allocations: 175 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.8701, allocations: 50.25 kB / 1.101 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.8703, allocations: 58.95 kB / 1.101 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8704, allocations: 348.2 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/0.8714, allocations: 383 kB / 1.102 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009375/0.8723, allocations: 374.1 kB / 1.102 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.874, allocations: 0.6021 MB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.874, allocations: 1.281 kB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002194/0.8762, allocations: 0.911 MB / 1.104 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.8763, allocations: 44.34 kB / 1.104 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8763, allocations: 0 / 1.104 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8763, allocations: 1.125 kB / 1.104 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.8768, allocations: 60.53 kB / 1.104 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8768, allocations: 12.48 kB / 1.104 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.8773, allocations: 47.34 kB / 1.104 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.8773, allocations: 12.25 kB / 1.104 GB, free: 13.38 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 (17): * Single equations (assignments): 16 * 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.0002891/0.8776, allocations: 193.6 kB / 1.104 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.8777, allocations: 37.33 kB / 1.104 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/0.8778, allocations: 41.58 kB / 1.104 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.8778, allocations: 2.25 kB / 1.104 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8778, allocations: 4.969 kB / 1.104 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8778, allocations: 1.266 kB / 1.104 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.8785, allocations: 0.5413 MB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8785, allocations: 1.281 kB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.879, allocations: 64.02 kB / 1.105 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.879, allocations: 4.641 kB / 1.105 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.879, allocations: 11.94 kB / 1.105 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.879, allocations: 0 / 1.105 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.879, allocations: 5.375 kB / 1.105 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.8809, allocations: 0.6523 MB / 1.105 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.8811, allocations: 169.4 kB / 1.106 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.8812, allocations: 3.781 kB / 1.106 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.8817, allocations: 48.73 kB / 1.106 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.8818, allocations: 22.38 kB / 1.106 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.8819, allocations: 9.844 kB / 1.106 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004272/0.8823, allocations: 322.2 kB / 1.106 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8823, allocations: 0 / 1.106 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004513/0.8827, allocations: 80.17 kB / 1.106 GB, free: 12.3 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 (16): * Single equations (assignments): 14 * 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.0004649/0.8832, allocations: 171.7 kB / 1.106 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.8854, allocations: 0.7651 MB / 1.107 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8854, allocations: 0 / 1.107 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.8865, allocations: 326.1 kB / 1.107 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.887, allocations: 73.56 kB / 1.107 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.8891, allocations: 0.8271 MB / 1.108 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.8896, allocations: 0.8116 MB / 1.109 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.89, allocations: 95.69 kB / 1.109 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.8901, allocations: 36.38 kB / 1.109 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8901, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.01514/0.9053, allocations: 7.207 MB / 1.116 GB, free: 10.14 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches