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.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.357/2.357, allocations: 390.2 MB / 0.6646 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 63.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7045, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003617/0.7081, allocations: 2.887 MB / 0.9524 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.7108, allocations: 2.251 MB / 0.9546 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.7109, allocations: 3.188 kB / 0.9546 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.7117, allocations: 257.8 kB / 0.9549 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.7118, allocations: 77.12 kB / 0.9549 GB, free: 4.855 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.001077/0.7129, allocations: 494.8 kB / 0.9554 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.7134, allocations: 0.5086 MB / 0.9559 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.7135, allocations: 64.09 kB / 0.956 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.7137, allocations: 194.4 kB / 0.9562 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.7139, allocations: 219 kB / 0.9564 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.714, allocations: 37.78 kB / 0.9564 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.7144, allocations: 250.1 kB / 0.9566 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.7145, allocations: 155.8 kB / 0.9568 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.7147, allocations: 217.2 kB / 0.957 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.7153, allocations: 0.7514 MB / 0.9577 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7154, allocations: 4 kB / 0.9577 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7154, allocations: 0 / 0.9577 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7154, allocations: 0 / 0.9577 GB, free: 3.02 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.001246/0.7166, allocations: 0.836 MB / 0.9585 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7167, allocations: 13.09 kB / 0.9586 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.7189, allocations: 230.1 kB / 0.9588 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.7194, allocations: 431.2 kB / 0.9592 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.7195, allocations: 84.78 kB / 0.9593 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.7196, allocations: 21.75 kB / 0.9593 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.7209, allocations: 0.5285 MB / 0.9598 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7209, allocations: 0 / 0.9598 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.721, allocations: 1.125 kB / 0.9598 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.721, allocations: 2.781 kB / 0.9598 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.7231, allocations: 0.7603 MB / 0.9606 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.7253, allocations: 1.271 MB / 0.9618 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.7309, allocations: 1.008 MB / 0.9628 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.732, allocations: 400.4 kB / 0.9632 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.7321, allocations: 6.156 kB / 0.9632 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.7334, allocations: 0.5344 MB / 0.9637 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.866e-06/0.7334, allocations: 0 / 0.9637 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003598/0.737, allocations: 1.178 MB / 0.9648 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.7371, allocations: 59.47 kB / 0.9649 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.7378, allocations: 0.5237 MB / 0.9654 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.7379, allocations: 33.33 kB / 0.9654 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.738, allocations: 195.8 kB / 0.9656 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.7381, allocations: 68.41 kB / 0.9657 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.7383, allocations: 62.3 kB / 0.9657 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7385, allocations: 360.3 kB / 0.9661 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.7396, allocations: 477.6 kB / 0.9665 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7408, allocations: 497.8 kB / 0.967 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.7429, allocations: 0.7529 MB / 0.9678 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7429, allocations: 4 kB / 0.9678 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002682/0.7456, allocations: 1.082 MB / 0.9688 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.7457, allocations: 48.59 kB / 0.9689 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7457, allocations: 0 / 0.9689 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.7457, allocations: 5.469 kB / 0.9689 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.7464, allocations: 94.61 kB / 0.969 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.7464, allocations: 5.109 kB / 0.969 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.747, allocations: 59.81 kB / 0.969 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.7471, allocations: 17.52 kB / 0.969 GB, free: 12.27 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.0004274/0.7475, allocations: 224.2 kB / 0.9693 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7476, allocations: 47.72 kB / 0.9693 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.7477, allocations: 54.34 kB / 0.9694 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7478, allocations: 1.281 kB / 0.9694 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7478, allocations: 1.312 kB / 0.9694 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7478, allocations: 0 / 0.9694 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.7486, allocations: 0.6433 MB / 0.97 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7486, allocations: 0 / 0.97 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.7492, allocations: 99.53 kB / 0.9701 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.7492, allocations: 1.5 kB / 0.9701 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.7493, allocations: 11.86 kB / 0.9701 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7493, allocations: 0 / 0.9701 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7493, allocations: 1.219 kB / 0.9701 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.7516, allocations: 0.834 MB / 0.9709 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.7518, allocations: 190.8 kB / 0.9711 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.7519, allocations: 8.094 kB / 0.9711 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.7525, allocations: 62.7 kB / 0.9712 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7526, allocations: 25.23 kB / 0.9712 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.7527, allocations: 15.8 kB / 0.9712 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004963/0.7532, allocations: 385.5 kB / 0.9716 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7532, allocations: 0 / 0.9716 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004944/0.7537, allocations: 100.2 kB / 0.9717 GB, free: 10.59 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.000428/0.7541, allocations: 156.6 kB / 0.9718 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.7566, allocations: 0.9725 MB / 0.9728 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7567, allocations: 0 / 0.9728 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.7578, allocations: 416.8 kB / 0.9732 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.7583, allocations: 97.77 kB / 0.9732 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.7607, allocations: 1.067 MB / 0.9743 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.7611, allocations: 0.8661 MB / 0.9751 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.7617, allocations: 126.9 kB / 0.9753 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.7618, allocations: 43.34 kB / 0.9753 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7618, allocations: 0 / 0.9753 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01434/0.7762, allocations: 8.805 MB / 0.9839 GB, free: 14.39 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