Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001387/0.001387, allocations: 113.9 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.001845/0.001845, allocations: 187.7 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.538/1.538, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.465/3.465, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 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-master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 70.42 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5048, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00612/0.5109, allocations: 2.929 MB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004423/0.5154, allocations: 2.251 MB / 1.321 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.5157, allocations: 11.88 kB / 1.321 GB, free: 4.469 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001186/0.5169, allocations: 254.6 kB / 1.321 GB, free: 4.219 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.5173, allocations: 79.28 kB / 1.321 GB, free: 4.141 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5191, allocations: 497.6 kB / 1.322 GB, free: 3.66 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.001052/0.5201, allocations: 0.5142 MB / 1.322 GB, free: 3.145 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.5203, allocations: 32.84 kB / 1.322 GB, free: 3.105 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.5208, allocations: 211.4 kB / 1.323 GB, free: 2.898 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.5213, allocations: 215.3 kB / 1.323 GB, free: 2.688 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.5215, allocations: 36 kB / 1.323 GB, free: 2.652 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.5222, allocations: 291.6 kB / 1.323 GB, free: 2.367 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5225, allocations: 159.5 kB / 1.323 GB, free: 2.211 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.5229, allocations: 218.9 kB / 1.324 GB, free: 1.996 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001418/0.5243, allocations: 0.7552 MB / 1.324 GB, free: 1.238 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.5243, allocations: 4 kB / 1.324 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.865e-06/0.5243, allocations: 0 / 1.324 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 3.043e-05/0.5244, allocations: 0 / 1.324 GB, free: 1.234 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.002368/0.5267, allocations: 0.776 MB / 1.325 GB, free: 424 kB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.5268, allocations: 8.031 kB / 1.325 GB, free: 416 kB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.529, allocations: 236.4 kB / 1.325 GB, free: 180 kB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.5299, allocations: 372.5 kB / 1.326 GB, free: 15.79 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.53, allocations: 83.94 kB / 1.326 GB, free: 15.7 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.5301, allocations: 16.38 kB / 1.326 GB, free: 15.68 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.5314, allocations: 0.535 MB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5314, allocations: 0 / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.5315, allocations: 4 kB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5315, allocations: 0 / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.5336, allocations: 0.765 MB / 1.327 GB, free: 14.38 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.5365, allocations: 1.24 MB / 1.328 GB, free: 13.09 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.5419, allocations: 1.002 MB / 1.329 GB, free: 12.08 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.543, allocations: 386.1 kB / 1.33 GB, free: 11.7 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.5431, allocations: 11.92 kB / 1.33 GB, free: 11.69 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/0.5445, allocations: 0.5357 MB / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=21): time 2.866e-06/0.5445, allocations: 0 / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of matching and sorting (n=21): time 0.003487/0.548, allocations: 1.174 MB / 1.331 GB, free: 9.961 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5481, allocations: 59.41 kB / 1.331 GB, free: 9.891 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.5491, allocations: 0.5251 MB / 1.332 GB, free: 9.355 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5492, allocations: 33.7 kB / 1.332 GB, free: 9.316 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.5494, allocations: 196.5 kB / 1.332 GB, free: 9.121 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.5495, allocations: 67.44 kB / 1.332 GB, free: 9.055 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.5497, allocations: 65.66 kB / 1.332 GB, free: 8.984 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002173/0.5499, allocations: 358.8 kB / 1.332 GB, free: 8.625 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.5511, allocations: 464.5 kB / 1.333 GB, free: 8.168 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5524, allocations: 0.4989 MB / 1.333 GB, free: 7.664 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.5543, allocations: 0.7539 MB / 1.334 GB, free: 6.902 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5543, allocations: 0 / 1.334 GB, free: 6.902 MB / 1.029 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.00267/0.557, allocations: 1.077 MB / 1.335 GB, free: 5.812 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.5571, allocations: 41.69 kB / 1.335 GB, free: 5.766 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5571, allocations: 7.938 kB / 1.335 GB, free: 5.758 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.5571, allocations: 7.938 kB / 1.335 GB, free: 5.75 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.5577, allocations: 79.89 kB / 1.335 GB, free: 5.672 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5577, allocations: 8 kB / 1.335 GB, free: 5.664 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.5583, allocations: 63.81 kB / 1.335 GB, free: 5.602 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.5584, allocations: 15.98 kB / 1.335 GB, free: 5.586 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.0004873/0.5589, allocations: 220.7 kB / 1.336 GB, free: 5.363 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.559, allocations: 43.72 kB / 1.336 GB, free: 5.32 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.5592, allocations: 55.94 kB / 1.336 GB, free: 5.266 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5592, allocations: 4 kB / 1.336 GB, free: 5.262 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5592, allocations: 0 / 1.336 GB, free: 5.262 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5592, allocations: 3.984 kB / 1.336 GB, free: 5.258 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009081/0.5601, allocations: 0.6169 MB / 1.336 GB, free: 4.598 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5601, allocations: 0 / 1.336 GB, free: 4.598 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.5607, allocations: 91.89 kB / 1.336 GB, free: 4.508 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5607, allocations: 3.938 kB / 1.336 GB, free: 4.504 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.5607, allocations: 19.91 kB / 1.336 GB, free: 4.484 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5607, allocations: 0 / 1.336 GB, free: 4.484 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5607, allocations: 4 kB / 1.336 GB, free: 4.48 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.563, allocations: 0.8362 MB / 1.337 GB, free: 3.625 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.5633, allocations: 111.6 kB / 1.337 GB, free: 3.516 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.5634, allocations: 19.86 kB / 1.337 GB, free: 3.496 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.5639, allocations: 63.92 kB / 1.337 GB, free: 3.434 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.564, allocations: 23.95 kB / 1.337 GB, free: 3.41 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.564, allocations: 11.98 kB / 1.337 GB, free: 3.398 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0005141/0.5645, allocations: 387.1 kB / 1.338 GB, free: 3.02 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9e-08/0.5645, allocations: 0 / 1.338 GB, free: 3.02 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004482/0.565, allocations: 107.9 kB / 1.338 GB, free: 2.914 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.0003548/0.5653, allocations: 138.8 kB / 1.338 GB, free: 2.773 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.002401/0.5677, allocations: 0.9244 MB / 1.339 GB, free: 1.836 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5677, allocations: 0 / 1.339 GB, free: 1.836 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5688, allocations: 414.2 kB / 1.339 GB, free: 1.434 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.5693, allocations: 91.81 kB / 1.339 GB, free: 1.348 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.572, allocations: 1.072 MB / 1.341 GB, free: 252 kB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.5726, allocations: 0.8541 MB / 1.341 GB, free: 15.36 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.000484/0.5731, allocations: 134.9 kB / 1.341 GB, free: 15.23 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5733, allocations: 35.41 kB / 1.342 GB, free: 15.2 MB / 1.045 GB
Notification: Performance of SimCode: time 7.01e-07/0.5733, allocations: 0 / 1.342 GB, free: 15.2 MB / 1.045 GB
Notification: Performance of Templates: time 0.02066/0.5939, allocations: 8.978 MB / 1.35 GB, free: 6.332 MB / 1.045 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50296148750931]