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.001866/0.001866, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002155/0.002156, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.606/1.606, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.962/2.962, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 0.8688 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7338, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005672/0.7395, allocations: 2.921 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.7435, allocations: 2.203 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.7438, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.7447, allocations: 252.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.7451, allocations: 71.41 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.7465, allocations: 453.6 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.7473, allocations: 0.5142 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.7475, allocations: 48.72 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.7479, allocations: 203.4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.7482, allocations: 219.2 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.315e-05/0.7483, allocations: 36 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.7488, allocations: 247.7 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.7491, allocations: 163.6 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.7494, allocations: 210.9 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000965/0.7504, allocations: 0.7518 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7504, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7504, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7504, allocations: 4 kB / 1.025 GB, free: 10.42 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.001696/0.7521, allocations: 0.8321 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7522, allocations: 15.98 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.7544, allocations: 228.1 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.755, allocations: 425.9 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.7552, allocations: 91.94 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.7552, allocations: 12.38 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.7567, allocations: 0.5303 MB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7567, allocations: 0 / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.7567, allocations: 8 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7568, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.7589, allocations: 0.7611 MB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.7615, allocations: 1.261 MB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005707/0.7673, allocations: 1.017 MB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.7683, allocations: 396.9 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.7684, allocations: 4 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.7697, allocations: 0.5312 MB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 3.106e-06/0.7697, allocations: 0 / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.003514/0.7733, allocations: 1.186 MB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.7733, allocations: 51.41 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.7741, allocations: 0.5252 MB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.7742, allocations: 33.7 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.7745, allocations: 200.5 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.7746, allocations: 67.08 kB / 1.033 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.775, allocations: 65.58 kB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.7752, allocations: 362.8 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.7764, allocations: 468.5 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.7776, allocations: 0.4934 MB / 1.034 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.7797, allocations: 0.7503 MB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.7797, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00266/0.7824, allocations: 1.085 MB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.7825, allocations: 37.69 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7825, allocations: 0 / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7825, allocations: 11.92 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.7831, allocations: 87.89 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7832, allocations: 3.938 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.7837, allocations: 59.84 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.7838, allocations: 15.98 kB / 1.036 GB, free: 14.57 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.000327/0.7841, allocations: 221.7 kB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7843, allocations: 43.44 kB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.7844, allocations: 51.86 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.7844, allocations: 4 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7844, allocations: 3.938 kB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.7844, allocations: 3.984 kB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.7852, allocations: 0.6376 MB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7853, allocations: 4 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.7859, allocations: 87.83 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.7859, allocations: 4 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.786, allocations: 15.92 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.786, allocations: 0 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.786, allocations: 0 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.7882, allocations: 0.8343 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.7885, allocations: 188.4 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.7886, allocations: 11.94 kB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.7892, allocations: 63.92 kB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.7893, allocations: 27.89 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.7893, allocations: 15.98 kB / 1.038 GB, free: 12.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000493/0.7898, allocations: 391.1 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7899, allocations: 0 / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004366/0.7903, allocations: 96 kB / 1.039 GB, free: 11.79 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.0003168/0.7906, allocations: 138.4 kB / 1.039 GB, free: 11.65 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.7931, allocations: 0.9618 MB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7931, allocations: 8 kB / 1.04 GB, free: 10.67 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.7942, allocations: 423.6 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.7947, allocations: 93.78 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.7973, allocations: 1.158 MB / 1.041 GB, free: 8.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.7978, allocations: 0.8583 MB / 1.042 GB, free: 8.098 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005755/0.7984, allocations: 130.9 kB / 1.042 GB, free: 7.973 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7986, allocations: 43.41 kB / 1.043 GB, free: 7.934 MB / 0.795 GB Notification: Performance of SimCode: time 4.2e-07/0.7986, allocations: 0 / 1.043 GB, free: 7.934 MB / 0.795 GB Notification: Performance of Templates: time 0.01783/0.8165, allocations: 8.539 MB / 1.051 GB, free: 15.49 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