Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.041/3.041, allocations: 476.7 MB / 0.7629 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.89 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004174/1.013, allocations: 2.926 MB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002696/1.015, allocations: 2.236 MB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/1.016, allocations: 2.219 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007033/1.016, allocations: 265.8 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/1.016, allocations: 78.86 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/1.018, allocations: 494.4 kB / 1.278 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005457/1.018, allocations: 0.5177 MB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/1.018, allocations: 29.5 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/1.018, allocations: 205.6 kB / 1.279 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/1.019, allocations: 213.3 kB / 1.279 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/1.019, allocations: 37.22 kB / 1.279 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/1.019, allocations: 257.8 kB / 1.279 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/1.019, allocations: 164.2 kB / 1.279 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/1.019, allocations: 216.2 kB / 1.279 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/1.021, allocations: 0.7564 MB / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.021, allocations: 1.188 kB / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.973e-06/1.021, allocations: 0 / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.358e-06/1.021, allocations: 0 / 1.28 GB, free: 2.941 MB / 0.9981 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.001658/1.022, allocations: 0.853 MB / 1.281 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/1.022, allocations: 9.734 kB / 1.281 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/1.025, allocations: 232.1 kB / 1.281 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/1.025, allocations: 430.9 kB / 1.282 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.025, allocations: 82.67 kB / 1.282 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/1.026, allocations: 14.06 kB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/1.027, allocations: 0.5347 MB / 1.282 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.027, allocations: 3.938 kB / 1.282 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/1.027, allocations: 4 kB / 1.282 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.027, allocations: 8.016 kB / 1.282 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.029, allocations: 0.7577 MB / 1.283 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/1.031, allocations: 1.266 MB / 1.284 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00536/1.037, allocations: 0.9987 MB / 1.285 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/1.038, allocations: 394 kB / 1.286 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/1.038, allocations: 8.219 kB / 1.286 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/1.039, allocations: 0.5312 MB / 1.286 GB, free: 368 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/1.039, allocations: 0 / 1.286 GB, free: 368 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003262/1.042, allocations: 1.179 MB / 1.287 GB, free: 24 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.042, allocations: 59.62 kB / 1.287 GB, free: 15.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/1.043, allocations: 0.5212 MB / 1.288 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/1.043, allocations: 34.55 kB / 1.288 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/1.043, allocations: 200.6 kB / 1.288 GB, free: 15.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/1.043, allocations: 69.09 kB / 1.288 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.044, allocations: 65.77 kB / 1.288 GB, free: 15.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.044, allocations: 357.8 kB / 1.289 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.045, allocations: 465.1 kB / 1.289 GB, free: 14.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/1.046, allocations: 0.4985 MB / 1.289 GB, free: 14.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/1.048, allocations: 0.7499 MB / 1.29 GB, free: 14.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.048, allocations: 1.781 kB / 1.29 GB, free: 14.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002505/1.051, allocations: 1.08 MB / 1.291 GB, free: 14.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/1.051, allocations: 44.22 kB / 1.291 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.051, allocations: 0 / 1.291 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.051, allocations: 4.875 kB / 1.291 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/1.051, allocations: 92.56 kB / 1.291 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.051, allocations: 1 kB / 1.291 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/1.052, allocations: 56.64 kB / 1.291 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/1.052, allocations: 19.42 kB / 1.291 GB, free: 14.21 MB / 1.014 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.0004362/1.052, allocations: 214.3 kB / 1.292 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.053, allocations: 49.22 kB / 1.292 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/1.053, allocations: 55.2 kB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.053, allocations: 2.219 kB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.053, allocations: 1.062 kB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.053, allocations: 5.75 kB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.054, allocations: 0.6443 MB / 1.292 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.054, allocations: 3.984 kB / 1.292 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.054, allocations: 94.98 kB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.054, allocations: 1.281 kB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/1.054, allocations: 16.83 kB / 1.293 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.054, allocations: 2.375 kB / 1.293 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.054, allocations: 3.938 kB / 1.293 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/1.057, allocations: 0.8298 MB / 1.293 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/1.057, allocations: 195.6 kB / 1.294 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/1.057, allocations: 13.27 kB / 1.294 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/1.058, allocations: 63.73 kB / 1.294 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.058, allocations: 22.11 kB / 1.294 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/1.058, allocations: 15.53 kB / 1.294 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005941/1.058, allocations: 390.2 kB / 1.294 GB, free: 12.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 0 / 1.294 GB, free: 12.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005513/1.059, allocations: 106.1 kB / 1.294 GB, free: 12.97 MB / 1.014 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.0003394/1.059, allocations: 140 kB / 1.294 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002409/1.062, allocations: 0.9304 MB / 1.295 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.062, allocations: 0 / 1.295 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.063, allocations: 408.9 kB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/1.063, allocations: 88.67 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.066, allocations: 1.075 MB / 1.297 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/1.067, allocations: 0.865 MB / 1.298 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004968/1.067, allocations: 131.8 kB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.067, allocations: 46.47 kB / 1.298 GB, free: 11.19 MB / 1.014 GB Notification: Performance of SimCode: time 1.402e-06/1.067, allocations: 0 / 1.298 GB, free: 11.19 MB / 1.014 GB Notification: Performance of Templates: time 0.02028/1.088, allocations: 8.92 MB / 1.306 GB, free: 10.51 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.85223632864654]