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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002012/0.002012, allocations: 197.8 kB / 16.14 MB, free: 6.645 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.8 MB, free: 4.59 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.29/2.29, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 71.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6387, allocations: 140.4 MB / 0.9489 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003343/0.642, allocations: 2.929 MB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.645, allocations: 2.247 MB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.6452, allocations: 1.25 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.6459, allocations: 253.2 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.6461, allocations: 56.67 kB / 0.9543 GB, free: 4.957 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.0008671/0.647, allocations: 447.6 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.6474, allocations: 489.2 kB / 0.9552 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.6475, allocations: 58.73 kB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.6477, allocations: 180.1 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.6479, allocations: 214.7 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.6479, allocations: 24.62 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.6483, allocations: 235.4 kB / 0.9559 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.6484, allocations: 146.1 kB / 0.956 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.6486, allocations: 204.4 kB / 0.9562 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.6492, allocations: 0.7341 MB / 0.9569 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6492, allocations: 0 / 0.9569 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6492, allocations: 1.375 kB / 0.9569 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.6492, allocations: 0 / 0.9569 GB, free: 3.258 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.001264/0.6505, allocations: 0.8355 MB / 0.9577 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6505, allocations: 9.594 kB / 0.9577 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.6527, allocations: 242.1 kB / 0.958 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.6531, allocations: 430.9 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.6533, allocations: 76.73 kB / 0.9585 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.6533, allocations: 17.47 kB / 0.9585 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6546, allocations: 0.5357 MB / 0.959 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6546, allocations: 1.125 kB / 0.959 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.6546, allocations: 5.062 kB / 0.959 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.6546, allocations: 2.219 kB / 0.959 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.6566, allocations: 0.7601 MB / 0.9597 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.6587, allocations: 1.268 MB / 0.961 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.664, allocations: 1.015 MB / 0.962 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.665, allocations: 401 kB / 0.9624 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.665, allocations: 1.094 kB / 0.9624 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.6663, allocations: 0.5292 MB / 0.9629 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.6663, allocations: 5.188 kB / 0.9629 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003326/0.6697, allocations: 1.177 MB / 0.964 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.6697, allocations: 63.33 kB / 0.9641 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.6704, allocations: 0.521 MB / 0.9646 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.6705, allocations: 33.89 kB / 0.9646 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.6707, allocations: 194.2 kB / 0.9648 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.6707, allocations: 68.34 kB / 0.9649 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.6709, allocations: 67.42 kB / 0.9649 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6711, allocations: 358.9 kB / 0.9653 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6721, allocations: 471.1 kB / 0.9657 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.6732, allocations: 0.4937 MB / 0.9662 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.6751, allocations: 0.7565 MB / 0.967 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6751, allocations: 0 / 0.967 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002571/0.6777, allocations: 1.087 MB / 0.968 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.6778, allocations: 45.25 kB / 0.9681 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.6778, allocations: 0 / 0.9681 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6778, allocations: 1.062 kB / 0.9681 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.6785, allocations: 90.3 kB / 0.9681 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6785, allocations: 1.312 kB / 0.9682 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.6791, allocations: 68.42 kB / 0.9682 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.6791, allocations: 12.92 kB / 0.9682 GB, free: 12.5 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.0003573/0.6795, allocations: 217.5 kB / 0.9684 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6796, allocations: 47.66 kB / 0.9685 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.6798, allocations: 54.41 kB / 0.9685 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6798, allocations: 1.906 kB / 0.9685 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6798, allocations: 4 kB / 0.9685 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6798, allocations: 0 / 0.9685 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.6805, allocations: 0.6487 MB / 0.9692 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6806, allocations: 0 / 0.9692 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.6812, allocations: 94.08 kB / 0.9693 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.6812, allocations: 1.438 kB / 0.9693 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.6812, allocations: 15.72 kB / 0.9693 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6812, allocations: 1.312 kB / 0.9693 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6812, allocations: 3.984 kB / 0.9693 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.6835, allocations: 0.8328 MB / 0.9701 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.6838, allocations: 184.8 kB / 0.9703 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.6839, allocations: 10.7 kB / 0.9703 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.6844, allocations: 63.48 kB / 0.9703 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.6845, allocations: 28.36 kB / 0.9704 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.6846, allocations: 16.08 kB / 0.9704 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004735/0.6851, allocations: 389.2 kB / 0.9708 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.323e-06/0.6851, allocations: 0 / 0.9708 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004571/0.6855, allocations: 104.7 kB / 0.9709 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.0004286/0.686, allocations: 152.2 kB / 0.971 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.6882, allocations: 0.9398 MB / 0.9719 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6882, allocations: 0 / 0.9719 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6892, allocations: 431.6 kB / 0.9723 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.6898, allocations: 91.16 kB / 0.9724 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.692, allocations: 1.152 MB / 0.9735 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.6925, allocations: 0.8583 MB / 0.9744 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005338/0.693, allocations: 126.9 kB / 0.9745 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.6932, allocations: 43.41 kB / 0.9745 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6932, allocations: 0 / 0.9745 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.0136/0.7068, allocations: 8.284 MB / 0.9826 GB, free: 15.3 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