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.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.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.00181/0.00181, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.002071/0.002071, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 62.66 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3067, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004424/0.3112, allocations: 2.903 MB / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.3144, allocations: 2.25 MB / 0.9562 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3146, allocations: 4 kB / 0.9562 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.3153, allocations: 262.5 kB / 0.9564 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3155, allocations: 75.28 kB / 0.9565 GB, free: 2.559 MB / 0.7325 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.001139/0.3167, allocations: 489.3 kB / 0.957 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.3172, allocations: 0.5064 MB / 0.9574 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3174, allocations: 52.72 kB / 0.9575 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3176, allocations: 203.4 kB / 0.9577 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3178, allocations: 211.2 kB / 0.9579 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.578e-05/0.3179, allocations: 36 kB / 0.9579 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.3183, allocations: 263.7 kB / 0.9582 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3185, allocations: 151.6 kB / 0.9583 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3187, allocations: 210.9 kB / 0.9585 GB, free: 484 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.3194, allocations: 0.7556 MB / 0.9593 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3195, allocations: 3.984 kB / 0.9593 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3195, allocations: 7.938 kB / 0.9593 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3195, allocations: 0 / 0.9593 GB, free: 15.7 MB / 0.7481 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.001397/0.3209, allocations: 0.8321 MB / 0.9601 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3209, allocations: 8.031 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.323, allocations: 232.2 kB / 0.9603 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.3237, allocations: 425.9 kB / 0.9607 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3238, allocations: 79.89 kB / 0.9608 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3239, allocations: 23.94 kB / 0.9608 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.3251, allocations: 0.5303 MB / 0.9613 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3251, allocations: 0 / 0.9613 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.3252, allocations: 4 kB / 0.9613 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3252, allocations: 4 kB / 0.9613 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.327, allocations: 0.7572 MB / 0.9621 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.3293, allocations: 1.273 MB / 0.9633 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.3346, allocations: 1.01 MB / 0.9643 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3356, allocations: 405.6 kB / 0.9647 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.3357, allocations: 3.938 kB / 0.9647 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.337, allocations: 0.5301 MB / 0.9652 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 3.296e-06/0.337, allocations: 0 / 0.9652 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.003167/0.3402, allocations: 1.182 MB / 0.9664 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3402, allocations: 55.41 kB / 0.9664 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.3409, allocations: 0.5175 MB / 0.9669 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/0.341, allocations: 33.7 kB / 0.967 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.3412, allocations: 196.5 kB / 0.9672 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.3413, allocations: 82.92 kB / 0.9672 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3415, allocations: 61.67 kB / 0.9673 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3416, allocations: 358.8 kB / 0.9676 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.3426, allocations: 468.5 kB / 0.9681 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.3437, allocations: 0.4984 MB / 0.9686 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.3455, allocations: 0.754 MB / 0.9693 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3455, allocations: 0 / 0.9693 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002323/0.3478, allocations: 1.085 MB / 0.9704 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.3479, allocations: 51.5 kB / 0.9704 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3479, allocations: 0 / 0.9704 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3479, allocations: 0 / 0.9704 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.3485, allocations: 95.77 kB / 0.9705 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3485, allocations: 0 / 0.9705 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.3491, allocations: 63.83 kB / 0.9706 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3491, allocations: 11.98 kB / 0.9706 GB, free: 3.84 MB / 0.7481 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.0003204/0.3494, allocations: 219.2 kB / 0.9708 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.3495, allocations: 47.38 kB / 0.9708 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.3496, allocations: 51.91 kB / 0.9709 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3496, allocations: 4 kB / 0.9709 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3496, allocations: 4 kB / 0.9709 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3497, allocations: 0 / 0.9709 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.3503, allocations: 0.6414 MB / 0.9715 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3503, allocations: 0 / 0.9715 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.3509, allocations: 95.83 kB / 0.9716 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3509, allocations: 0 / 0.9716 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3509, allocations: 11.97 kB / 0.9716 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.351, allocations: 4 kB / 0.9716 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.351, allocations: 0 / 0.9716 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3529, allocations: 0.8327 MB / 0.9724 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.3532, allocations: 196.3 kB / 0.9726 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.3533, allocations: 8 kB / 0.9726 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.3538, allocations: 59.92 kB / 0.9727 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3539, allocations: 23.97 kB / 0.9727 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.354, allocations: 15.97 kB / 0.9727 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004289/0.3544, allocations: 395 kB / 0.9731 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3544, allocations: 0 / 0.9731 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004371/0.3548, allocations: 96 kB / 0.9732 GB, free: 1.062 MB / 0.7481 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.0004483/0.3553, allocations: 165.8 kB / 0.9734 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.3575, allocations: 0.9373 MB / 0.9743 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3575, allocations: 0 / 0.9743 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.3585, allocations: 434.2 kB / 0.9747 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3589, allocations: 92.48 kB / 0.9748 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3612, allocations: 1.052 MB / 0.9758 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.3617, allocations: 0.8505 MB / 0.9766 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.3621, allocations: 130.9 kB / 0.9768 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3623, allocations: 39.41 kB / 0.9768 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.3623, allocations: 0 / 0.9768 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of Templates: time 0.01495/0.3772, allocations: 8.814 MB / 0.9854 GB, free: 4.625 MB / 0.7637 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 -s cvode -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/jenkins1/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