Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001628, 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.001566/0.001566, allocations: 193.5 kB / 16.14 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.596/1.596, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.6179, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004405/0.6223, allocations: 2.936 MB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.626, allocations: 2.221 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.6262, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.627, allocations: 256.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.6273, allocations: 71.41 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.6285, allocations: 435.4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.629, allocations: 494.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.6292, allocations: 52.66 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.6294, allocations: 183.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.6296, allocations: 203.3 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.6297, allocations: 28 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.6301, allocations: 231.6 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.6303, allocations: 147.6 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.6305, allocations: 206.9 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.6314, allocations: 0.7244 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.6314, allocations: 3.984 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.91e-07/0.6314, allocations: 4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6314, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 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.001527/0.6329, allocations: 0.8282 MB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.633, allocations: 15.98 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.6352, allocations: 232.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.6358, allocations: 425.9 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.6359, allocations: 83.94 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.636, allocations: 12.38 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.6374, allocations: 0.5342 MB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6374, allocations: 0 / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.6375, allocations: 15.92 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6375, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.6396, allocations: 0.7611 MB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.642, allocations: 1.261 MB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/0.6475, allocations: 1.009 MB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.6486, allocations: 396.9 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.6486, allocations: 11.98 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.6499, allocations: 0.5291 MB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.475e-06/0.65, allocations: 4 kB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003354/0.6533, allocations: 1.176 MB / 1.032 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.6534, allocations: 55.34 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.6541, allocations: 0.5252 MB / 1.032 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.6542, allocations: 33.7 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.6544, allocations: 200.5 kB / 1.032 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.6545, allocations: 63.02 kB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.6547, allocations: 65.66 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.6549, allocations: 362.8 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.6561, allocations: 464.5 kB / 1.033 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.6573, allocations: 0.4973 MB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.6593, allocations: 0.7454 MB / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6593, allocations: 0 / 1.035 GB, free: 68 kB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002605/0.6619, allocations: 1.086 MB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.662, allocations: 37.69 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.662, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.662, allocations: 3.938 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.6627, allocations: 95.89 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6627, allocations: 0 / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.6633, allocations: 67.83 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.6634, allocations: 15.97 kB / 1.036 GB, free: 14.75 MB / 0.795 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.0004205/0.6638, allocations: 217.7 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6639, allocations: 43.44 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.664, allocations: 55.84 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.664, allocations: 7.938 kB / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.664, allocations: 0 / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.664, allocations: 0 / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.6648, allocations: 0.6494 MB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6648, allocations: 0 / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.6655, allocations: 83.83 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.6655, allocations: 8 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.6655, allocations: 19.91 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6655, allocations: 0 / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6655, allocations: 0 / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.6677, allocations: 0.834 MB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.668, allocations: 184.4 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.6681, allocations: 15.92 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.6686, allocations: 63.92 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6687, allocations: 23.95 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.6688, allocations: 15.98 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004852/0.6693, allocations: 387.1 kB / 1.038 GB, free: 12.06 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6693, allocations: 0 / 1.038 GB, free: 12.06 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000434/0.6697, allocations: 100 kB / 1.039 GB, free: 11.96 MB / 0.795 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.0003314/0.6701, allocations: 142 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.6724, allocations: 0.9465 MB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6724, allocations: 0 / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6735, allocations: 415.6 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.6741, allocations: 89.89 kB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.6767, allocations: 1.159 MB / 1.041 GB, free: 9.184 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.6772, allocations: 0.8544 MB / 1.042 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005604/0.6778, allocations: 130.9 kB / 1.042 GB, free: 8.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.678, allocations: 43.41 kB / 1.042 GB, free: 8.141 MB / 0.795 GB Notification: Performance of SimCode: time 1.252e-06/0.678, allocations: 0 / 1.042 GB, free: 8.141 MB / 0.795 GB Notification: Performance of Templates: time 0.01594/0.694, allocations: 8.268 MB / 1.05 GB, free: 15.96 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches