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.001589/0.001589, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002128/0.002128, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.303/2.303, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6297, allocations: 140.3 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003297/0.6331, allocations: 2.406 MB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.6355, allocations: 1.869 MB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.6357, allocations: 1.188 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.6364, allocations: 213.5 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.6365, allocations: 55.11 kB / 0.9534 GB, free: 5.602 MB / 0.7169 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.0008694/0.6374, allocations: 377.6 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.6379, allocations: 383.3 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.638, allocations: 44.16 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.6381, allocations: 146.2 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.6383, allocations: 151.1 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.6384, allocations: 17.84 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.6388, allocations: 225.6 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.6389, allocations: 114.9 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.6391, allocations: 158 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.6396, allocations: 0.5858 MB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6396, allocations: 4 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6396, allocations: 4 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.6396, allocations: 5 kB / 0.9555 GB, free: 4.227 MB / 0.7169 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.001022/0.6407, allocations: 0.7025 MB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6407, allocations: 9.219 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.6424, allocations: 157.4 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.6428, allocations: 371.5 kB / 0.9567 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.6429, allocations: 71.2 kB / 0.9568 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.643, allocations: 15.94 kB / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.6439, allocations: 438.2 kB / 0.9572 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.644, allocations: 3.938 kB / 0.9572 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.644, allocations: 5.312 kB / 0.9572 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.644, allocations: 6.5 kB / 0.9572 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.6455, allocations: 0.5808 MB / 0.9578 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.6471, allocations: 1.044 MB / 0.9588 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/0.6521, allocations: 0.8486 MB / 0.9596 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.6528, allocations: 304.2 kB / 0.9599 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.6528, allocations: 2.188 kB / 0.9599 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.6537, allocations: 448.2 kB / 0.9603 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.6537, allocations: 4 kB / 0.9603 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002362/0.6561, allocations: 0.9144 MB / 0.9612 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.6561, allocations: 57.75 kB / 0.9613 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.6566, allocations: 439.4 kB / 0.9617 GB, free: 384 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.6566, allocations: 33.23 kB / 0.9617 GB, free: 348 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6568, allocations: 174.3 kB / 0.9619 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.6568, allocations: 50.5 kB / 0.962 GB, free: 144 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.657, allocations: 55.64 kB / 0.962 GB, free: 104 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6571, allocations: 341.8 kB / 0.9623 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/0.658, allocations: 384 kB / 0.9627 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.6588, allocations: 374.9 kB / 0.9631 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.6603, allocations: 0.5972 MB / 0.9636 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6604, allocations: 0 / 0.9636 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001948/0.6623, allocations: 0.917 MB / 0.9645 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.6624, allocations: 43.91 kB / 0.9646 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6624, allocations: 1.281 kB / 0.9646 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6624, allocations: 1.344 kB / 0.9646 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.6629, allocations: 66.52 kB / 0.9647 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6629, allocations: 3.938 kB / 0.9647 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.6633, allocations: 43.33 kB / 0.9647 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.6633, allocations: 15.39 kB / 0.9647 GB, free: 14.59 MB / 0.7325 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.0002496/0.6636, allocations: 193.1 kB / 0.9649 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.6637, allocations: 32.03 kB / 0.9649 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.6637, allocations: 41.7 kB / 0.965 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6637, allocations: 5.062 kB / 0.965 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6638, allocations: 5.062 kB / 0.965 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6638, allocations: 0 / 0.965 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.6643, allocations: 0.5475 MB / 0.9655 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6644, allocations: 1.438 kB / 0.9655 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.6648, allocations: 61.77 kB / 0.9656 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6648, allocations: 1.312 kB / 0.9656 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.6649, allocations: 6.641 kB / 0.9656 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6649, allocations: 1.375 kB / 0.9656 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6649, allocations: 7.938 kB / 0.9656 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.6665, allocations: 0.6563 MB / 0.9662 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.6667, allocations: 170.2 kB / 0.9664 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.6668, allocations: 6.594 kB / 0.9664 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.6672, allocations: 45.28 kB / 0.9664 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.6673, allocations: 31.34 kB / 0.9665 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.6673, allocations: 9.641 kB / 0.9665 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003639/0.6677, allocations: 318 kB / 0.9668 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6677, allocations: 0 / 0.9668 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004304/0.6682, allocations: 83.72 kB / 0.9669 GB, free: 13.16 MB / 0.7325 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.0004319/0.6686, allocations: 158.4 kB / 0.967 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.6704, allocations: 0.7525 MB / 0.9677 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6704, allocations: 9.031 kB / 0.9678 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.6713, allocations: 335.3 kB / 0.9681 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.6718, allocations: 68.47 kB / 0.9681 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.6735, allocations: 0.8872 MB / 0.969 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.6738, allocations: 0.8072 MB / 0.9698 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000425/0.6743, allocations: 98.97 kB / 0.9699 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.6744, allocations: 31.72 kB / 0.9699 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6744, allocations: 7.938 kB / 0.9699 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.01238/0.6868, allocations: 6.762 MB / 0.9765 GB, free: 5.551 MB / 0.7325 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