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.006633/0.006633, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001499/0.001499, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.64 kB / 0.9509 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2627, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003269/0.266, allocations: 2.356 MB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.2687, allocations: 1.854 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2688, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.2694, allocations: 230.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2696, allocations: 63.42 kB / 1.092 GB, free: 13.05 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.001092/0.2707, allocations: 422.3 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.2712, allocations: 402.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2713, allocations: 52.3 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2715, allocations: 151.5 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2717, allocations: 155.5 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.2718, allocations: 31.94 kB / 1.094 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.2722, allocations: 239.7 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2724, allocations: 119.7 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2726, allocations: 167.2 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.2732, allocations: 0.6037 MB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2733, allocations: 0 / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2733, allocations: 4 kB / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2733, allocations: 0 / 1.095 GB, free: 10.74 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001181/0.2745, allocations: 0.71 MB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2745, allocations: 12.03 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.2763, allocations: 160.3 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.2769, allocations: 358.4 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.277, allocations: 83.69 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.277, allocations: 12 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2781, allocations: 442.9 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2781, allocations: 0 / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2781, allocations: 8 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2781, allocations: 0 / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2797, allocations: 0.5777 MB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2815, allocations: 1.043 MB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.2864, allocations: 0.8494 MB / 1.099 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.2872, allocations: 308.9 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2872, allocations: 8 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/0.2882, allocations: 446.4 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.2882, allocations: 0 / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002497/0.2907, allocations: 0.9225 MB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2908, allocations: 67.33 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.2912, allocations: 425.6 kB / 1.101 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.2913, allocations: 37.69 kB / 1.101 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2914, allocations: 168.1 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.2915, allocations: 51.3 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2916, allocations: 57.67 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2918, allocations: 342.8 kB / 1.101 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.2926, allocations: 380.6 kB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/0.2935, allocations: 375.6 kB / 1.102 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.2951, allocations: 0.6017 MB / 1.103 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2951, allocations: 0 / 1.103 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001972/0.2971, allocations: 0.9105 MB / 1.104 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.2971, allocations: 41.69 kB / 1.104 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2971, allocations: 0 / 1.104 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2972, allocations: 4 kB / 1.104 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.2976, allocations: 63.92 kB / 1.104 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2977, allocations: 7.875 kB / 1.104 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2981, allocations: 51.78 kB / 1.104 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2981, allocations: 15.98 kB / 1.104 GB, free: 1.02 MB / 0.8575 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.0002211/0.2984, allocations: 189.7 kB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.2984, allocations: 31.62 kB / 1.104 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.2985, allocations: 35.47 kB / 1.104 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2985, allocations: 4 kB / 1.104 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.2985, allocations: 11.88 kB / 1.104 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2985, allocations: 4 kB / 1.104 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.2991, allocations: 0.5401 MB / 1.105 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2991, allocations: 0 / 1.105 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.2995, allocations: 67.86 kB / 1.105 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2996, allocations: 0 / 1.105 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.2996, allocations: 7.984 kB / 1.105 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2996, allocations: 4 kB / 1.105 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2996, allocations: 3.938 kB / 1.105 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3013, allocations: 0.6526 MB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3015, allocations: 160.7 kB / 1.106 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.3016, allocations: 8 kB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.3021, allocations: 47.94 kB / 1.106 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.3022, allocations: 23.91 kB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.3022, allocations: 11.98 kB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003189/0.3025, allocations: 319.1 kB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3025, allocations: 0 / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003487/0.3029, allocations: 76 kB / 1.106 GB, free: 14.74 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 (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.000393/0.3033, allocations: 173 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.3051, allocations: 0.7566 MB / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3051, allocations: 7.938 kB / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.306, allocations: 323.8 kB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3064, allocations: 77.38 kB / 1.107 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3081, allocations: 0.8191 MB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.3085, allocations: 0.8104 MB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.3088, allocations: 98.25 kB / 1.109 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.309, allocations: 35.41 kB / 1.109 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 1.109 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.01232/0.3213, allocations: 7.35 MB / 1.116 GB, free: 4.359 MB / 0.8731 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