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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001059/0.001059, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001272/0.001272, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6603, allocations: 142.4 MB / 0.9545 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.001953/0.6623, allocations: 1.976 MB / 0.9564 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.6643, allocations: 1.739 MB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.6644, allocations: 1.812 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.6649, allocations: 187.2 kB / 0.9583 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-05/0.665, allocations: 55.14 kB / 0.9583 GB, free: 4.633 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008369/0.6659, allocations: 374.1 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.6662, allocations: 336 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.6664, allocations: 37 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.6665, allocations: 143.1 kB / 0.9592 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.6667, allocations: 143.7 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.6668, allocations: 17.88 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.6671, allocations: 215.3 kB / 0.9595 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.6672, allocations: 106.5 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.6673, allocations: 78.73 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.6677, allocations: 463.6 kB / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6677, allocations: 0 / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6677, allocations: 0 / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6677, allocations: 0 / 0.9601 GB, free: 3.465 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.0008781/0.6686, allocations: 0.6601 MB / 0.9608 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6686, allocations: 13.62 kB / 0.9608 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.6702, allocations: 164.8 kB / 0.961 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.6706, allocations: 349.4 kB / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.6707, allocations: 76.48 kB / 0.9614 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.6708, allocations: 11.12 kB / 0.9614 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.6717, allocations: 456 kB / 0.9618 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6717, allocations: 3.953 kB / 0.9618 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.6717, allocations: 5.422 kB / 0.9618 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6718, allocations: 10.09 kB / 0.9618 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.6732, allocations: 0.628 MB / 0.9624 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.6748, allocations: 1.051 MB / 0.9635 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.6791, allocations: 0.9177 MB / 0.9644 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.6798, allocations: 326.7 kB / 0.9647 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.6799, allocations: 5.125 kB / 0.9647 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009274/0.6808, allocations: 467 kB / 0.9651 GB, free: 400 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.6808, allocations: 0 / 0.9651 GB, free: 400 kB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002318/0.6831, allocations: 0.9841 MB / 0.9661 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6832, allocations: 54.81 kB / 0.9661 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.6837, allocations: 428.6 kB / 0.9665 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.6838, allocations: 33.14 kB / 0.9666 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.6839, allocations: 169.6 kB / 0.9667 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.684, allocations: 50.7 kB / 0.9668 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.684, allocations: 5.375 kB / 0.9668 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6841, allocations: 353.7 kB / 0.9671 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/0.685, allocations: 403.4 kB / 0.9675 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.6858, allocations: 393.5 kB / 0.9679 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.6866, allocations: 372.2 kB / 0.9682 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6866, allocations: 4 kB / 0.9682 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001901/0.6885, allocations: 0.9442 MB / 0.9692 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.6886, allocations: 43.97 kB / 0.9692 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6886, allocations: 5.219 kB / 0.9692 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6886, allocations: 0 / 0.9692 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.6891, allocations: 71.89 kB / 0.9693 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6891, allocations: 8.891 kB / 0.9693 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.6895, allocations: 59.83 kB / 0.9693 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.6896, allocations: 15.34 kB / 0.9694 GB, free: 13.98 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.6898, allocations: 190.1 kB / 0.9695 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.6899, allocations: 35.7 kB / 0.9696 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.69, allocations: 40.78 kB / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.69, allocations: 2.156 kB / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.69, allocations: 1.094 kB / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.69, allocations: 0 / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.6906, allocations: 0.5517 MB / 0.9702 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6906, allocations: 4 kB / 0.9702 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.691, allocations: 67.52 kB / 0.9702 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6911, allocations: 1.281 kB / 0.9702 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.6911, allocations: 14.7 kB / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6911, allocations: 1.281 kB / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6911, allocations: 0 / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6927, allocations: 0.6985 MB / 0.9709 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.693, allocations: 169.1 kB / 0.9711 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.693, allocations: 3.875 kB / 0.9711 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.6935, allocations: 63.03 kB / 0.9712 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.6936, allocations: 18.12 kB / 0.9712 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.6936, allocations: 9.891 kB / 0.9712 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003447/0.6939, allocations: 322.3 kB / 0.9715 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.694, allocations: 1.031 kB / 0.9715 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003765/0.6943, allocations: 83.36 kB / 0.9716 GB, free: 12.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003716/0.6947, allocations: 159.3 kB / 0.9717 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.6964, allocations: 0.8053 MB / 0.9725 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6964, allocations: 0 / 0.9725 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007698/0.6972, allocations: 348.7 kB / 0.9728 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.6977, allocations: 79.03 kB / 0.9729 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.6994, allocations: 0.8693 MB / 0.9738 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.6999, allocations: 0.8166 MB / 0.9746 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.7003, allocations: 102.2 kB / 0.9747 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.7005, allocations: 31.42 kB / 0.9747 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7005, allocations: 3.938 kB / 0.9747 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.01142/0.7119, allocations: 6.487 MB / 0.981 GB, free: 3.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