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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001748/0.001748, allocations: 191 kB / 16.25 MB, free: 6.637 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.477 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.347/2.347, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.14 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6387, allocations: 140.4 MB / 0.9491 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004012/0.6428, allocations: 2.927 MB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.6456, allocations: 2.22 MB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.6459, allocations: 1.375 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008556/0.6467, allocations: 244.3 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.647, allocations: 69.66 kB / 0.9544 GB, free: 5.035 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.001256/0.6482, allocations: 463.5 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.649, allocations: 0.5019 MB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.6492, allocations: 63.66 kB / 0.9554 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.6496, allocations: 205.7 kB / 0.9556 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.65, allocations: 217.6 kB / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.6501, allocations: 35.84 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.6507, allocations: 256.5 kB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.6509, allocations: 162 kB / 0.9563 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.6511, allocations: 216.3 kB / 0.9565 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.652, allocations: 0.743 MB / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.652, allocations: 9.375 kB / 0.9572 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.652, allocations: 0 / 0.9572 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.652, allocations: 0 / 0.9572 GB, free: 3.242 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001733/0.6538, allocations: 0.8398 MB / 0.958 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.6538, allocations: 12.59 kB / 0.958 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.6561, allocations: 226.8 kB / 0.9583 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.6567, allocations: 431 kB / 0.9587 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.6568, allocations: 84.69 kB / 0.9588 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.6569, allocations: 13.53 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6582, allocations: 0.5322 MB / 0.9593 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6582, allocations: 1 kB / 0.9593 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.6583, allocations: 12.88 kB / 0.9593 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.6583, allocations: 2.969 kB / 0.9593 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.6602, allocations: 0.7592 MB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.6625, allocations: 1.264 MB / 0.9613 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/0.6679, allocations: 1.016 MB / 0.9623 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.6689, allocations: 396.2 kB / 0.9626 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.669, allocations: 6.391 kB / 0.9627 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.6702, allocations: 0.5329 MB / 0.9632 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.6703, allocations: 0 / 0.9632 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003847/0.6741, allocations: 1.174 MB / 0.9643 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.6742, allocations: 59.59 kB / 0.9644 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.6749, allocations: 0.5237 MB / 0.9649 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.675, allocations: 33.67 kB / 0.9649 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6752, allocations: 199.8 kB / 0.9651 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6753, allocations: 68.53 kB / 0.9652 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6755, allocations: 66.91 kB / 0.9652 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6757, allocations: 354.9 kB / 0.9656 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.6769, allocations: 470.7 kB / 0.966 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6781, allocations: 0.4976 MB / 0.9665 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.6801, allocations: 0.7501 MB / 0.9672 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6802, allocations: 4 kB / 0.9672 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002741/0.6829, allocations: 1.079 MB / 0.9683 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.683, allocations: 51.25 kB / 0.9684 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.683, allocations: 0.9688 kB / 0.9684 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.683, allocations: 1.062 kB / 0.9684 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.6836, allocations: 95.78 kB / 0.9684 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.6837, allocations: 0 / 0.9684 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.6842, allocations: 59.84 kB / 0.9685 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.6843, allocations: 21.14 kB / 0.9685 GB, free: 12.49 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 (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.0002967/0.6846, allocations: 209.8 kB / 0.9687 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6847, allocations: 51.64 kB / 0.9688 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.6848, allocations: 48.98 kB / 0.9688 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.6848, allocations: 7.125 kB / 0.9688 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6849, allocations: 0 / 0.9688 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6849, allocations: 0 / 0.9688 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.6856, allocations: 0.6444 MB / 0.9695 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6856, allocations: 4 kB / 0.9695 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.6863, allocations: 98.91 kB / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6863, allocations: 1.188 kB / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6863, allocations: 7.547 kB / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6863, allocations: 5.406 kB / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6863, allocations: 0 / 0.9696 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.6885, allocations: 0.8409 MB / 0.9704 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.6888, allocations: 191.8 kB / 0.9706 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.6889, allocations: 7.031 kB / 0.9706 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.6895, allocations: 62.42 kB / 0.9706 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.6896, allocations: 26.64 kB / 0.9707 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.6896, allocations: 9.641 kB / 0.9707 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004812/0.6901, allocations: 390 kB / 0.971 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6901, allocations: 0 / 0.971 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004979/0.6906, allocations: 100.4 kB / 0.9711 GB, free: 10.82 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 (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.0004834/0.6911, allocations: 161.8 kB / 0.9713 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.6935, allocations: 0.9766 MB / 0.9722 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6936, allocations: 0 / 0.9722 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6946, allocations: 417.1 kB / 0.9726 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.6951, allocations: 89.8 kB / 0.9727 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.6975, allocations: 1.145 MB / 0.9738 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.698, allocations: 0.8544 MB / 0.9747 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005411/0.6985, allocations: 130.9 kB / 0.9748 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.6987, allocations: 47.34 kB / 0.9749 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.6987, allocations: 0 / 0.9749 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of Templates: time 0.01536/0.7141, allocations: 8.576 MB / 0.9832 GB, free: 14.94 MB / 0.7481 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