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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001053/0.001052, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001246/0.001246, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003409/1.008, allocations: 2.451 MB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00311/1.011, allocations: 2.051 MB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/1.011, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007726/1.012, allocations: 230.9 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/1.012, allocations: 67.42 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/1.014, allocations: 430.6 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005065/1.014, allocations: 438.5 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/1.014, allocations: 46.69 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/1.014, allocations: 179.5 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/1.015, allocations: 191.3 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/1.015, allocations: 24 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/1.015, allocations: 219.7 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/1.015, allocations: 139.6 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/1.015, allocations: 101.5 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006177/1.016, allocations: 0.5611 MB / 1.029 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.016, allocations: 3.938 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/1.016, allocations: 4 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.016, allocations: 0 / 1.029 GB, free: 8.93 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.001312/1.017, allocations: 0.7816 MB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.018, allocations: 12.52 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.019, allocations: 235.3 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/1.02, allocations: 409 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.02, allocations: 91.33 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/1.02, allocations: 12 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.021, allocations: 0.5573 MB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.021, allocations: 0 / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/1.022, allocations: 4 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.022, allocations: 4 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.023, allocations: 0.8158 MB / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/1.026, allocations: 1.281 MB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/1.031, allocations: 1.08 MB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009143/1.031, allocations: 432.5 kB / 1.035 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/1.031, allocations: 7.984 kB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/1.033, allocations: 0.5633 MB / 1.035 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.444e-06/1.033, allocations: 0 / 1.035 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003141/1.036, allocations: 1.259 MB / 1.037 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/1.036, allocations: 55.41 kB / 1.037 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/1.037, allocations: 0.5175 MB / 1.037 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.037, allocations: 37.69 kB / 1.037 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/1.037, allocations: 204.3 kB / 1.037 GB, free: 380 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/1.037, allocations: 67.11 kB / 1.038 GB, free: 312 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/1.037, allocations: 0 / 1.038 GB, free: 312 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.037, allocations: 358.8 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.038, allocations: 492.5 kB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/1.039, allocations: 0.5208 MB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/1.04, allocations: 458.2 kB / 1.039 GB, free: 14.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.04, allocations: 0 / 1.039 GB, free: 14.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002352/1.043, allocations: 1.14 MB / 1.04 GB, free: 13.33 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/1.043, allocations: 37.69 kB / 1.04 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.043, allocations: 0 / 1.04 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.043, allocations: 4 kB / 1.04 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.043, allocations: 111.8 kB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.043, allocations: 0 / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/1.044, allocations: 75.81 kB / 1.041 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/1.044, allocations: 11.98 kB / 1.041 GB, free: 13.09 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.044, allocations: 225.6 kB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/1.044, allocations: 47.42 kB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/1.044, allocations: 51.92 kB / 1.041 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.044, allocations: 0 / 1.041 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.044, allocations: 0 / 1.041 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.044, allocations: 4 kB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/1.045, allocations: 0.6415 MB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.045, allocations: 0 / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/1.046, allocations: 103.9 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.046, allocations: 0 / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/1.046, allocations: 15.98 kB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.046, allocations: 4 kB / 1.042 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.046, allocations: 0 / 1.042 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.048, allocations: 0.8928 MB / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/1.048, allocations: 184.5 kB / 1.043 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/1.048, allocations: 12 kB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/1.049, allocations: 79.92 kB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/1.049, allocations: 23.95 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/1.049, allocations: 15.98 kB / 1.043 GB, free: 10.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004678/1.049, allocations: 387 kB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/1.049, allocations: 3.938 kB / 1.043 GB, free: 10.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000453/1.05, allocations: 100 kB / 1.043 GB, free: 10.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/1.05, allocations: 143.1 kB / 1.043 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00217/1.052, allocations: 0.9832 MB / 1.044 GB, free: 9.074 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.052, allocations: 3.938 kB / 1.044 GB, free: 9.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.053, allocations: 454.1 kB / 1.045 GB, free: 8.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/1.054, allocations: 95.52 kB / 1.045 GB, free: 8.539 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/1.056, allocations: 1.146 MB / 1.046 GB, free: 7.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/1.057, allocations: 0.8622 MB / 1.047 GB, free: 6.48 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005614/1.057, allocations: 122.9 kB / 1.047 GB, free: 6.363 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.058, allocations: 43.39 kB / 1.047 GB, free: 6.324 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/1.058, allocations: 0 / 1.047 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Templates: time 0.01596/1.074, allocations: 7.92 MB / 1.055 GB, free: 14.5 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=480 -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