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.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.001475/0.001475, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001646/0.001646, allocations: 188.6 kB / 22.22 MB, free: 5.105 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.535/1.535, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.389/3.389, allocations: 496 MB / 0.7835 GB, free: 33.75 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00323/0.00323, allocations: 67.44 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5125, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005288/0.5178, allocations: 2.934 MB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004256/0.5221, allocations: 2.249 MB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.5223, allocations: 4 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.5232, allocations: 266.6 kB / 1.313 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.5234, allocations: 75.28 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5249, allocations: 497.5 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007027/0.5256, allocations: 0.518 MB / 1.314 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.5258, allocations: 32.86 kB / 1.314 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.5261, allocations: 211.4 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.5264, allocations: 215.3 kB / 1.314 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.5265, allocations: 40 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.527, allocations: 287.6 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.5272, allocations: 159.5 kB / 1.315 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.5275, allocations: 214.8 kB / 1.315 GB, free: 10.08 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001091/0.5286, allocations: 0.7514 MB / 1.316 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.5286, allocations: 0 / 1.316 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.685e-06/0.5286, allocations: 0 / 1.316 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.024e-05/0.5286, allocations: 0 / 1.316 GB, free: 9.328 MB / 1.014 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.001634/0.5302, allocations: 0.776 MB / 1.316 GB, free: 8.508 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.5303, allocations: 12.92 kB / 1.316 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5324, allocations: 236.4 kB / 1.317 GB, free: 8.266 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.5331, allocations: 372.5 kB / 1.317 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.5333, allocations: 83.94 kB / 1.317 GB, free: 7.781 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.5333, allocations: 12.38 kB / 1.317 GB, free: 7.77 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5347, allocations: 0.5364 MB / 1.317 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5347, allocations: 0 / 1.317 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.5347, allocations: 3.984 kB / 1.317 GB, free: 7.223 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.5347, allocations: 7.938 kB / 1.317 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.5367, allocations: 0.7667 MB / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.5393, allocations: 1.237 MB / 1.319 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00534/0.5446, allocations: 0.9938 MB / 1.32 GB, free: 4.164 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.5456, allocations: 384.6 kB / 1.321 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.5457, allocations: 15.98 kB / 1.321 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.5471, allocations: 0.5273 MB / 1.321 GB, free: 3.23 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.5471, allocations: 0 / 1.321 GB, free: 3.23 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21): time 0.003406/0.5505, allocations: 1.186 MB / 1.322 GB, free: 2.039 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.5505, allocations: 55.41 kB / 1.323 GB, free: 1.973 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/0.5513, allocations: 0.5213 MB / 1.323 GB, free: 1.445 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.5514, allocations: 37.69 kB / 1.323 GB, free: 1.402 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.5516, allocations: 196.5 kB / 1.323 GB, free: 1.207 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.5517, allocations: 63.44 kB / 1.323 GB, free: 1.145 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.5519, allocations: 69.66 kB / 1.323 GB, free: 1.07 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002376/0.5522, allocations: 358.8 kB / 1.324 GB, free: 0.7109 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.5533, allocations: 464.5 kB / 1.324 GB, free: 260 kB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5545, allocations: 0.4974 MB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.5565, allocations: 0.7587 MB / 1.325 GB, free: 14.99 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5565, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.002758/0.5592, allocations: 1.076 MB / 1.326 GB, free: 13.9 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.5593, allocations: 45.69 kB / 1.326 GB, free: 13.85 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5593, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.5593, allocations: 3.938 kB / 1.327 GB, free: 13.84 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.5599, allocations: 87.89 kB / 1.327 GB, free: 13.76 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5599, allocations: 3.984 kB / 1.327 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.5605, allocations: 63.83 kB / 1.327 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.5605, allocations: 23.91 kB / 1.327 GB, free: 13.67 MB / 1.029 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.0004006/0.5609, allocations: 213.7 kB / 1.327 GB, free: 13.45 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.561, allocations: 47.72 kB / 1.327 GB, free: 13.4 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.5611, allocations: 51.94 kB / 1.327 GB, free: 13.35 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5611, allocations: 7.984 kB / 1.327 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5611, allocations: 0 / 1.327 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5611, allocations: 3.938 kB / 1.327 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.5621, allocations: 0.6288 MB / 1.328 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5621, allocations: 0 / 1.328 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.5627, allocations: 87.83 kB / 1.328 GB, free: 12.58 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5627, allocations: 8 kB / 1.328 GB, free: 12.57 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.5627, allocations: 15.92 kB / 1.328 GB, free: 12.55 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5628, allocations: 0 / 1.328 GB, free: 12.55 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5628, allocations: 0 / 1.328 GB, free: 12.55 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.5652, allocations: 0.8322 MB / 1.329 GB, free: 11.7 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.5654, allocations: 119.6 kB / 1.329 GB, free: 11.59 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.5655, allocations: 11.94 kB / 1.329 GB, free: 11.57 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.5661, allocations: 63.91 kB / 1.329 GB, free: 11.51 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5662, allocations: 19.97 kB / 1.329 GB, free: 11.49 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.5662, allocations: 15.97 kB / 1.329 GB, free: 11.48 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0005311/0.5667, allocations: 395 kB / 1.329 GB, free: 11.1 MB / 1.029 GB
Notification: Performance of sort global known variables: time 6e-08/0.5667, allocations: 0 / 1.329 GB, free: 11.1 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004788/0.5672, allocations: 107.9 kB / 1.329 GB, free: 10.99 MB / 1.029 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.0003229/0.5675, allocations: 132 kB / 1.329 GB, free: 10.86 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.002338/0.5699, allocations: 0.9229 MB / 1.33 GB, free: 9.922 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5699, allocations: 4 kB / 1.33 GB, free: 9.918 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.00109/0.571, allocations: 403.6 kB / 1.331 GB, free: 9.523 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.5714, allocations: 93.78 kB / 1.331 GB, free: 9.434 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.574, allocations: 1.072 MB / 1.332 GB, free: 8.332 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.5746, allocations: 0.8618 MB / 1.333 GB, free: 7.445 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0004628/0.5751, allocations: 130.9 kB / 1.333 GB, free: 7.312 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.5752, allocations: 39.41 kB / 1.333 GB, free: 7.273 MB / 1.029 GB
Notification: Performance of SimCode: time 9.92e-07/0.5752, allocations: 0 / 1.333 GB, free: 7.273 MB / 1.029 GB
Notification: Performance of Templates: time 0.01989/0.5951, allocations: 8.974 MB / 1.342 GB, free: 14.39 MB / 1.045 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.52805184200406]