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.0008461/0.0008461, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005855/0.005855, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.366/2.366, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6725, allocations: 142.4 MB / 0.9551 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002584/0.6752, allocations: 2.048 MB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.6778, allocations: 1.838 MB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.678, allocations: 1.25 kB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.6788, allocations: 217.6 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.679, allocations: 55.17 kB / 0.9591 GB, free: 4.465 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.0009534/0.68, allocations: 375.6 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.6804, allocations: 382.6 kB / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.6805, allocations: 45 kB / 0.9599 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.6807, allocations: 136.3 kB / 0.96 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.6809, allocations: 150.4 kB / 0.9601 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.6809, allocations: 17.88 kB / 0.9602 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.6813, allocations: 232 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.6815, allocations: 115.1 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.6817, allocations: 182.6 kB / 0.9607 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.6822, allocations: 0.5744 MB / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6823, allocations: 0.8125 kB / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6823, allocations: 0 / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.6823, allocations: 0 / 0.9612 GB, free: 3.086 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.001034/0.6833, allocations: 0.6568 MB / 0.9619 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6834, allocations: 13.14 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.6852, allocations: 171 kB / 0.962 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.6856, allocations: 365.5 kB / 0.9624 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6857, allocations: 77.06 kB / 0.9625 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.6858, allocations: 10.84 kB / 0.9625 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.6869, allocations: 460.6 kB / 0.9629 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6869, allocations: 5.109 kB / 0.9629 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.6869, allocations: 1.031 kB / 0.9629 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.687, allocations: 1.281 kB / 0.9629 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.6886, allocations: 0.6303 MB / 0.9635 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.6903, allocations: 1.05 MB / 0.9646 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/0.6954, allocations: 0.9211 MB / 0.9655 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008318/0.6963, allocations: 328.6 kB / 0.9658 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.6963, allocations: 1.062 kB / 0.9658 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.6974, allocations: 471.5 kB / 0.9662 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.6974, allocations: 0 / 0.9662 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002808/0.7002, allocations: 0.9778 MB / 0.9672 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.7003, allocations: 58.22 kB / 0.9672 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.7009, allocations: 439.6 kB / 0.9677 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.701, allocations: 29.42 kB / 0.9677 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.7012, allocations: 169.9 kB / 0.9679 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.7012, allocations: 46.2 kB / 0.9679 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.7013, allocations: 29.05 kB / 0.9679 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7014, allocations: 344.7 kB / 0.9683 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.7024, allocations: 403 kB / 0.9686 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/0.7034, allocations: 394.7 kB / 0.969 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.7051, allocations: 0.6402 MB / 0.9696 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7051, allocations: 0 / 0.9696 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002195/0.7073, allocations: 0.9504 MB / 0.9706 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.7073, allocations: 40.12 kB / 0.9706 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7074, allocations: 0 / 0.9706 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7074, allocations: 1.312 kB / 0.9706 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.7079, allocations: 80.8 kB / 0.9707 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7079, allocations: 3.938 kB / 0.9707 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.7084, allocations: 59.28 kB / 0.9707 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.7084, allocations: 15.61 kB / 0.9708 GB, free: 13.46 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 (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.0002573/0.7087, allocations: 188.7 kB / 0.9709 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/0.7088, allocations: 35.41 kB / 0.971 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.7089, allocations: 45.31 kB / 0.971 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.7089, allocations: 2.094 kB / 0.971 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7089, allocations: 3.938 kB / 0.971 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7089, allocations: 4 kB / 0.971 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.7095, allocations: 0.5406 MB / 0.9716 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7095, allocations: 0 / 0.9716 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.71, allocations: 76.45 kB / 0.9716 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.71, allocations: 0 / 0.9716 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.7101, allocations: 8.172 kB / 0.9716 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7101, allocations: 0 / 0.9716 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.7101, allocations: 9.5 kB / 0.9716 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.7119, allocations: 0.7014 MB / 0.9723 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.7122, allocations: 168.5 kB / 0.9725 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.7122, allocations: 4.125 kB / 0.9725 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.7127, allocations: 61.94 kB / 0.9726 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.7128, allocations: 26.97 kB / 0.9726 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.7129, allocations: 9.453 kB / 0.9726 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003754/0.7132, allocations: 318.6 kB / 0.9729 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7133, allocations: 0 / 0.9729 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004218/0.7137, allocations: 83.59 kB / 0.973 GB, free: 12.02 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 (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.0004043/0.7141, allocations: 155.2 kB / 0.9731 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.7161, allocations: 0.797 MB / 0.9739 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7161, allocations: 4 kB / 0.9739 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.717, allocations: 353 kB / 0.9742 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.7175, allocations: 77.39 kB / 0.9743 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.7193, allocations: 0.9014 MB / 0.9752 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.7197, allocations: 0.8146 MB / 0.976 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004359/0.7201, allocations: 98.25 kB / 0.9761 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.7203, allocations: 35.41 kB / 0.9761 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7203, allocations: 0 / 0.9761 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of Templates: time 0.01165/0.7319, allocations: 6.694 MB / 0.9827 GB, free: 2.75 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