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.0008202/0.00082, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005251/0.005251, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.364/2.364, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003703, allocations: 11.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6981, allocations: 142.4 MB / 0.9551 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003028/0.7012, allocations: 2.561 MB / 0.9576 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.7042, allocations: 2.22 MB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.7044, allocations: 1.812 kB / 0.9597 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.7052, allocations: 244.3 kB / 0.96 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.7053, allocations: 69.05 kB / 0.96 GB, free: 3.895 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.00103/0.7064, allocations: 434 kB / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.7068, allocations: 493.2 kB / 0.9609 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.707, allocations: 59.05 kB / 0.961 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.7072, allocations: 175.2 kB / 0.9611 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.7074, allocations: 209.8 kB / 0.9613 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.7075, allocations: 23.66 kB / 0.9614 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.7079, allocations: 233.3 kB / 0.9616 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.708, allocations: 147.1 kB / 0.9617 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.7082, allocations: 232 kB / 0.9619 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.7088, allocations: 0.7159 MB / 0.9626 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7088, allocations: 0 / 0.9626 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7088, allocations: 0 / 0.9626 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7089, allocations: 1.031 kB / 0.9626 GB, free: 2.195 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.001156/0.71, allocations: 0.7731 MB / 0.9634 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7101, allocations: 10.25 kB / 0.9634 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7122, allocations: 249 kB / 0.9636 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.7127, allocations: 422.6 kB / 0.964 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.7129, allocations: 85.41 kB / 0.9641 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.713, allocations: 17.06 kB / 0.9641 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7142, allocations: 0.5572 MB / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7143, allocations: 1.531 kB / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.7143, allocations: 0 / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.7143, allocations: 6.891 kB / 0.9647 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.7165, allocations: 0.8214 MB / 0.9655 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.7189, allocations: 1.276 MB / 0.9667 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/0.7245, allocations: 1.09 MB / 0.9678 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.7256, allocations: 424.3 kB / 0.9682 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.7256, allocations: 6.984 kB / 0.9682 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.7269, allocations: 0.5598 MB / 0.9688 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.727, allocations: 0 / 0.9688 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003463/0.7304, allocations: 1.262 MB / 0.97 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7305, allocations: 58.97 kB / 0.9701 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.7312, allocations: 0.5206 MB / 0.9706 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.7313, allocations: 37.48 kB / 0.9706 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.7314, allocations: 199.3 kB / 0.9708 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.7315, allocations: 60.55 kB / 0.9709 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.7316, allocations: 28.95 kB / 0.9709 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7318, allocations: 356.8 kB / 0.9712 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.7329, allocations: 495.1 kB / 0.9717 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7342, allocations: 0.5263 MB / 0.9722 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.7363, allocations: 0.8101 MB / 0.973 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7363, allocations: 0 / 0.973 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002726/0.739, allocations: 1.147 MB / 0.9741 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.7391, allocations: 44.47 kB / 0.9742 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.7391, allocations: 4 kB / 0.9742 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7391, allocations: 1.312 kB / 0.9742 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.7398, allocations: 103.6 kB / 0.9743 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7398, allocations: 5.25 kB / 0.9743 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.7404, allocations: 84.45 kB / 0.9743 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.7405, allocations: 12.08 kB / 0.9744 GB, free: 11.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 (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.0003712/0.7409, allocations: 213.9 kB / 0.9746 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.741, allocations: 51.38 kB / 0.9746 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.7411, allocations: 51.91 kB / 0.9747 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7411, allocations: 0 / 0.9747 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.7411, allocations: 0 / 0.9747 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7411, allocations: 4 kB / 0.9747 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.7418, allocations: 0.6492 MB / 0.9753 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7418, allocations: 3.938 kB / 0.9753 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.7425, allocations: 103.8 kB / 0.9754 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7425, allocations: 3.938 kB / 0.9754 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.7425, allocations: 11.98 kB / 0.9754 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.7425, allocations: 4 kB / 0.9754 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7426, allocations: 3.984 kB / 0.9754 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.7448, allocations: 0.8867 MB / 0.9763 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.7451, allocations: 192.4 kB / 0.9765 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.7452, allocations: 7.984 kB / 0.9765 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.7458, allocations: 75.92 kB / 0.9766 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7459, allocations: 31.91 kB / 0.9766 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.746, allocations: 19.97 kB / 0.9766 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004593/0.7464, allocations: 387.1 kB / 0.977 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7464, allocations: 0 / 0.977 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004651/0.7469, allocations: 92 kB / 0.9771 GB, free: 8.594 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.0005185/0.7474, allocations: 161.4 kB / 0.9772 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.7499, allocations: 0.9999 MB / 0.9782 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.75, allocations: 0 / 0.9782 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.7511, allocations: 447.6 kB / 0.9786 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.7516, allocations: 89.88 kB / 0.9787 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.7543, allocations: 1.185 MB / 0.9799 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.7548, allocations: 0.8583 MB / 0.9807 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005128/0.7553, allocations: 122.9 kB / 0.9808 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.7555, allocations: 39.41 kB / 0.9809 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.7555, allocations: 0 / 0.9809 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Templates: time 0.01409/0.7696, allocations: 8.197 MB / 0.9889 GB, free: 12.55 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