Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002443/0.002443, allocations: 209.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.646/1.646, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.511/3.511, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 75.69 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5018, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.006521/0.5083, allocations: 2.712 MB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.5129, allocations: 2.056 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.5132, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5143, allocations: 234.7 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.5147, allocations: 79.2 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.5165, allocations: 0.4887 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.5176, allocations: 0.518 MB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.5177, allocations: 28.88 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.5182, allocations: 211.4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.5187, allocations: 203.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.5189, allocations: 40 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.5196, allocations: 263.6 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.5198, allocations: 167.5 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.5202, allocations: 171.1 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.5215, allocations: 0.7552 MB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5215, allocations: 3.938 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5215, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.5216, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.029 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.002161/0.5237, allocations: 0.7816 MB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5238, allocations: 12.03 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.5261, allocations: 228.4 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.5269, allocations: 372.6 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.5272, allocations: 139.3 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.5272, allocations: 12.38 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5288, allocations: 0.5419 MB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5288, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.5288, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5288, allocations: 4 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.5312, allocations: 0.7611 MB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.5339, allocations: 1.112 MB / 1.337 GB, free: 5.824 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005601/0.5395, allocations: 1.002 MB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.5407, allocations: 392.6 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.5407, allocations: 0 / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.5422, allocations: 0.5357 MB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/0.5422, allocations: 0 / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.00376/0.546, allocations: 1.183 MB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.546, allocations: 59.41 kB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.547, allocations: 0.5175 MB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.5471, allocations: 33.7 kB / 1.341 GB, free: 2.051 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5473, allocations: 200.5 kB / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5474, allocations: 67.42 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.5476, allocations: 65.67 kB / 1.341 GB, free: 1.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.5479, allocations: 362.8 kB / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.5492, allocations: 498.2 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.5506, allocations: 0.5652 MB / 1.342 GB, free: 280 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.5528, allocations: 0.7615 MB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5528, allocations: 0 / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002798/0.5556, allocations: 1.113 MB / 1.344 GB, free: 14.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.5557, allocations: 37.69 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5557, allocations: 3.938 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5557, allocations: 0 / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.5563, allocations: 99.77 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.5563, allocations: 0 / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.5569, allocations: 67.81 kB / 1.344 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.557, allocations: 15.98 kB / 1.344 GB, free: 14.14 MB / 1.045 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.0004262/0.5574, allocations: 214.3 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5576, allocations: 43.72 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5577, allocations: 48 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5577, allocations: 11.88 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.5577, allocations: 0 / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5577, allocations: 0 / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5585, allocations: 0.5163 MB / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5585, allocations: 0 / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.5591, allocations: 83.89 kB / 1.345 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.5591, allocations: 4 kB / 1.345 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.5592, allocations: 11.98 kB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5592, allocations: 0 / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5592, allocations: 7.938 kB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.5615, allocations: 0.8377 MB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.5619, allocations: 111.6 kB / 1.346 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.562, allocations: 11.98 kB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.5625, allocations: 63.86 kB / 1.346 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5626, allocations: 35.89 kB / 1.346 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.5627, allocations: 11.98 kB / 1.346 GB, free: 12.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005853/0.5633, allocations: 387.1 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.5633, allocations: 0 / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004987/0.5638, allocations: 99.88 kB / 1.347 GB, free: 11.61 MB / 1.045 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.0004204/0.5642, allocations: 131.2 kB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.5668, allocations: 0.9713 MB / 1.348 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5668, allocations: 0 / 1.348 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.568, allocations: 407.6 kB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.5686, allocations: 97.75 kB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.5714, allocations: 1.064 MB / 1.349 GB, free: 8.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5718, allocations: 252.9 kB / 1.35 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005034/0.5723, allocations: 134.9 kB / 1.35 GB, free: 8.496 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.5725, allocations: 43.41 kB / 1.35 GB, free: 8.453 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.5725, allocations: 0 / 1.35 GB, free: 8.453 MB / 1.045 GB Notification: Performance of Templates: time 0.02087/0.5933, allocations: 9.795 MB / 1.359 GB, free: 14.77 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.841339033097029]