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.001422/0.001423, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.325/2.325, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6931, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003319/0.6965, allocations: 2.361 MB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.6989, allocations: 1.854 MB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.6991, allocations: 2.812 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.6998, allocations: 227.1 kB / 0.9539 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.6999, allocations: 60.05 kB / 0.954 GB, free: 5.652 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.0009944/0.7009, allocations: 423.7 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.7013, allocations: 403.1 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.7014, allocations: 44.17 kB / 0.9548 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.7016, allocations: 158.9 kB / 0.955 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.7018, allocations: 152.5 kB / 0.9551 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.7019, allocations: 27.88 kB / 0.9551 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.7022, allocations: 248.5 kB / 0.9554 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.7024, allocations: 114.2 kB / 0.9555 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7026, allocations: 170.5 kB / 0.9557 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.7032, allocations: 0.5908 MB / 0.9562 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7032, allocations: 0 / 0.9562 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7032, allocations: 5.766 kB / 0.9562 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7032, allocations: 3.938 kB / 0.9562 GB, free: 4.184 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.001066/0.7043, allocations: 0.6989 MB / 0.9569 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7043, allocations: 12.84 kB / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.7061, allocations: 164.8 kB / 0.9571 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.7065, allocations: 366.3 kB / 0.9574 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.7066, allocations: 76.5 kB / 0.9575 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.7066, allocations: 19.84 kB / 0.9575 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.7076, allocations: 434.5 kB / 0.9579 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7076, allocations: 0 / 0.9579 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.7077, allocations: 1.281 kB / 0.9579 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.7077, allocations: 6.562 kB / 0.958 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.7092, allocations: 0.5844 MB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.7109, allocations: 1.048 MB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/0.7159, allocations: 0.844 MB / 0.9604 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.7167, allocations: 313.1 kB / 0.9607 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.7167, allocations: 9.594 kB / 0.9607 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009613/0.7177, allocations: 443.1 kB / 0.9611 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.075e-06/0.7177, allocations: 0 / 0.9611 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002497/0.7202, allocations: 0.9221 MB / 0.962 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.7202, allocations: 57.53 kB / 0.9621 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.7207, allocations: 436.6 kB / 0.9625 GB, free: 324 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.7208, allocations: 32.98 kB / 0.9625 GB, free: 288 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.7209, allocations: 170 kB / 0.9627 GB, free: 132 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.7209, allocations: 46.39 kB / 0.9627 GB, free: 92 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.721, allocations: 52.05 kB / 0.9628 GB, free: 56 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7212, allocations: 352.8 kB / 0.9631 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/0.7221, allocations: 381.7 kB / 0.9635 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.723, allocations: 370.5 kB / 0.9638 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.7245, allocations: 0.5943 MB / 0.9644 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7245, allocations: 4 kB / 0.9644 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002015/0.7265, allocations: 0.9119 MB / 0.9653 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.7266, allocations: 48.84 kB / 0.9653 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7266, allocations: 0 / 0.9653 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.7266, allocations: 1.469 kB / 0.9653 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.7271, allocations: 62.16 kB / 0.9654 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7271, allocations: 5 kB / 0.9654 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.7276, allocations: 49.33 kB / 0.9654 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.7276, allocations: 11.61 kB / 0.9655 GB, free: 14.54 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.0003009/0.7279, allocations: 194.7 kB / 0.9656 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.728, allocations: 32.06 kB / 0.9657 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.7281, allocations: 40.28 kB / 0.9657 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7281, allocations: 6.438 kB / 0.9657 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7281, allocations: 3.938 kB / 0.9657 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7281, allocations: 1.344 kB / 0.9657 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.7287, allocations: 0.5428 MB / 0.9663 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7287, allocations: 1.094 kB / 0.9663 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.7292, allocations: 57.67 kB / 0.9663 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7292, allocations: 5.188 kB / 0.9663 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.7293, allocations: 11.77 kB / 0.9663 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7293, allocations: 0 / 0.9663 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7293, allocations: 5.375 kB / 0.9663 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.731, allocations: 0.6558 MB / 0.967 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.7312, allocations: 169.5 kB / 0.9671 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.7313, allocations: 12.2 kB / 0.9671 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.7318, allocations: 48.53 kB / 0.9672 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7319, allocations: 19.42 kB / 0.9672 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.7319, allocations: 13.23 kB / 0.9672 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003837/0.7323, allocations: 321.7 kB / 0.9675 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7323, allocations: 0 / 0.9675 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000417/0.7327, allocations: 84.11 kB / 0.9676 GB, free: 13.1 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.000468/0.7332, allocations: 166.7 kB / 0.9678 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.7351, allocations: 0.7759 MB / 0.9685 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7351, allocations: 0 / 0.9685 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.736, allocations: 322.7 kB / 0.9688 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.7364, allocations: 84.23 kB / 0.9689 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.7382, allocations: 0.8262 MB / 0.9697 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7385, allocations: 0.8107 MB / 0.9705 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004297/0.739, allocations: 95.72 kB / 0.9706 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.7391, allocations: 37.97 kB / 0.9706 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7391, allocations: 0 / 0.9706 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.01342/0.7525, allocations: 7.166 MB / 0.9776 GB, free: 4.984 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