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.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.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.01103/0.01103, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001776/0.001776, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.62 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2901, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004226/0.2943, allocations: 2.891 MB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.2975, allocations: 2.252 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2977, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007849/0.2985, allocations: 270.5 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2987, allocations: 79.22 kB / 1.093 GB, free: 11.94 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.001197/0.3, allocations: 483 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006027/0.3006, allocations: 0.5102 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3007, allocations: 52.73 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3009, allocations: 199.5 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.3012, allocations: 211.3 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.495e-05/0.3012, allocations: 36 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3017, allocations: 255.7 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3018, allocations: 155.5 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.302, allocations: 222.9 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.3028, allocations: 0.7555 MB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3028, allocations: 0 / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3028, allocations: 3.938 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3028, allocations: 0 / 1.096 GB, free: 9.09 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001414/0.3042, allocations: 0.8361 MB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3043, allocations: 8.031 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.3064, allocations: 228.1 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.307, allocations: 434 kB / 1.098 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3071, allocations: 91.62 kB / 1.098 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.3072, allocations: 19.94 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3083, allocations: 0.5207 MB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3084, allocations: 3.938 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.3084, allocations: 12 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3084, allocations: 0 / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.3103, allocations: 0.7572 MB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.3124, allocations: 1.257 MB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.3178, allocations: 1.009 MB / 1.101 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009427/0.3187, allocations: 400.9 kB / 1.102 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3188, allocations: 11.95 kB / 1.102 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.32, allocations: 0.5234 MB / 1.102 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.32, allocations: 0 / 1.102 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.003005/0.323, allocations: 1.19 MB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3231, allocations: 51.41 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.3236, allocations: 0.5214 MB / 1.104 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.3237, allocations: 33.7 kB / 1.104 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3239, allocations: 204.4 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.324, allocations: 75.02 kB / 1.104 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3241, allocations: 61.67 kB / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3243, allocations: 362.7 kB / 1.104 GB, free: 280 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3254, allocations: 472.5 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3264, allocations: 0.4896 MB / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.3282, allocations: 0.7588 MB / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3283, allocations: 0 / 1.106 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002277/0.3305, allocations: 1.088 MB / 1.107 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.3306, allocations: 41.69 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3306, allocations: 0 / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3306, allocations: 4 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.3312, allocations: 95.81 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3312, allocations: 0 / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.3318, allocations: 55.94 kB / 1.107 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3318, allocations: 15.98 kB / 1.107 GB, free: 13.23 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 (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.0002748/0.3321, allocations: 217.7 kB / 1.108 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.3322, allocations: 55.36 kB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.3323, allocations: 47.92 kB / 1.108 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3323, allocations: 7.938 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3323, allocations: 0 / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3323, allocations: 0 / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.333, allocations: 0.6415 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.333, allocations: 7.938 kB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.3336, allocations: 91.81 kB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3336, allocations: 4 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.3337, allocations: 7.984 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.3337, allocations: 4 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3337, allocations: 3.938 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.3357, allocations: 0.8384 MB / 1.109 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.3359, allocations: 192.4 kB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.336, allocations: 11.94 kB / 1.109 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.3366, allocations: 63.92 kB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.3367, allocations: 27.95 kB / 1.11 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3367, allocations: 11.98 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003983/0.3371, allocations: 391.1 kB / 1.11 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3371, allocations: 0 / 1.11 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003928/0.3375, allocations: 92 kB / 1.11 GB, free: 10.44 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 (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.0003655/0.3379, allocations: 150.8 kB / 1.11 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.34, allocations: 0.944 MB / 1.111 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3401, allocations: 0 / 1.111 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/0.3411, allocations: 423.6 kB / 1.112 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3415, allocations: 91.45 kB / 1.112 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3438, allocations: 1.066 MB / 1.113 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3442, allocations: 0.858 MB / 1.113 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.3447, allocations: 130.9 kB / 1.114 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3449, allocations: 35.41 kB / 1.114 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.3449, allocations: 0 / 1.114 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of Templates: time 0.01563/0.3605, allocations: 9.041 MB / 1.122 GB, free: 13.78 MB / 0.8887 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 -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/jenkins/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