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.01354/0.01354, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001945/0.001945, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.827/2.827, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 79.77 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.9804, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004243/0.9847, allocations: 2.895 MB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.9879, allocations: 2.213 MB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.9881, allocations: 4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.9888, allocations: 262.3 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.9891, allocations: 87.2 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.9903, allocations: 486.4 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.9909, allocations: 0.5064 MB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.991, allocations: 60.64 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.9912, allocations: 195.4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.9915, allocations: 215.3 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.9916, allocations: 36 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.992, allocations: 251.7 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.9922, allocations: 159.6 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.9924, allocations: 210.9 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008119/0.9932, allocations: 0.7675 MB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9932, allocations: 0 / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9932, allocations: 0 / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.9933, allocations: 0 / 1.175 GB, free: 11.48 MB / 0.9044 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.001357/0.9946, allocations: 0.8496 MB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.9947, allocations: 12.88 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.9968, allocations: 236.4 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.9974, allocations: 426.4 kB / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.9975, allocations: 91.88 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.9976, allocations: 16.38 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.9988, allocations: 0.5269 MB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9989, allocations: 0 / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.9989, allocations: 4 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9989, allocations: 7.938 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.001, allocations: 0.7611 MB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/1.003, allocations: 1.269 MB / 1.179 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/1.008, allocations: 1.013 MB / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/1.009, allocations: 400.6 kB / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/1.009, allocations: 0 / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/1.011, allocations: 0.5379 MB / 1.181 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.295e-06/1.011, allocations: 0 / 1.181 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.003271/1.014, allocations: 1.174 MB / 1.182 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.014, allocations: 59.41 kB / 1.182 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/1.015, allocations: 0.5252 MB / 1.182 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/1.015, allocations: 37.7 kB / 1.182 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.015, allocations: 200.5 kB / 1.183 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/1.015, allocations: 67.38 kB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.015, allocations: 65.66 kB / 1.183 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.015, allocations: 354.8 kB / 1.183 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.016, allocations: 480.4 kB / 1.184 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.018, allocations: 0.4895 MB / 1.184 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.019, allocations: 0.7507 MB / 1.185 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.019, allocations: 0 / 1.185 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002436/1.022, allocations: 1.08 MB / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/1.022, allocations: 41.69 kB / 1.186 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.022, allocations: 0 / 1.186 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.022, allocations: 3.938 kB / 1.186 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/1.023, allocations: 95.83 kB / 1.186 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.023, allocations: 3.984 kB / 1.186 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/1.023, allocations: 63.88 kB / 1.186 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/1.023, allocations: 11.98 kB / 1.186 GB, free: 15.59 MB / 0.92 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.0003944/1.024, allocations: 214.6 kB / 1.186 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/1.024, allocations: 47.72 kB / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/1.024, allocations: 59.84 kB / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.024, allocations: 0 / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.024, allocations: 4 kB / 1.186 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.024, allocations: 4 kB / 1.186 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/1.025, allocations: 0.6414 MB / 1.187 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.025, allocations: 0 / 1.187 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/1.025, allocations: 87.89 kB / 1.187 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.025, allocations: 0 / 1.187 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.025, allocations: 15.92 kB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.025, allocations: 3.984 kB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.025, allocations: 4 kB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.027, allocations: 0.8338 MB / 1.188 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/1.028, allocations: 192.7 kB / 1.188 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/1.028, allocations: 19.86 kB / 1.188 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/1.028, allocations: 59.92 kB / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.028, allocations: 23.97 kB / 1.188 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/1.028, allocations: 15.98 kB / 1.188 GB, free: 13.28 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004579/1.029, allocations: 387 kB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.029, allocations: 0 / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004385/1.029, allocations: 103.9 kB / 1.189 GB, free: 12.8 MB / 0.92 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.0003649/1.03, allocations: 139.1 kB / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.032, allocations: 0.9343 MB / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.032, allocations: 7.938 kB / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.033, allocations: 423.6 kB / 1.19 GB, free: 11.29 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/1.033, allocations: 97.83 kB / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/1.036, allocations: 1.052 MB / 1.191 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.036, allocations: 0.8542 MB / 1.192 GB, free: 9.238 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004295/1.037, allocations: 126.9 kB / 1.192 GB, free: 9.113 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/1.037, allocations: 47.41 kB / 1.192 GB, free: 9.066 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/1.037, allocations: 0 / 1.192 GB, free: 9.066 MB / 0.92 GB Notification: Performance of Templates: time 0.01588/1.053, allocations: 8.825 MB / 1.201 GB, free: 344 kB / 0.92 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