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.001831/0.001831, allocations: 106 kB / 18.84 MB, free: 3.023 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.002306/0.002306, allocations: 192 kB / 22.1 MB, free: 4.223 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.567/1.567, allocations: 225.6 MB / 250.8 MB, free: 2.938 MB / 190.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.034/3.034, allocations: 495.8 MB / 0.783 GB, free: 12.27 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.003272/0.003272, allocations: 63.91 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.274/1.278, allocations: 173.6 MB / 1.307 GB, free: 33.82 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003946/1.282, allocations: 2.916 MB / 1.31 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00288/1.284, allocations: 2.234 MB / 1.312 GB, free: 30.22 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/1.285, allocations: 2.812 kB / 1.312 GB, free: 30.22 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.00078/1.285, allocations: 258.5 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001326/1.285, allocations: 74.3 kB / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001178/1.287, allocations: 0.499 MB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0005829/1.287, allocations: 0.5153 MB / 1.313 GB, free: 29.57 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/1.287, allocations: 32.89 kB / 1.313 GB, free: 29.55 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/1.288, allocations: 201.7 kB / 1.313 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/1.288, allocations: 215.6 kB / 1.314 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 7.832e-05/1.288, allocations: 37.75 kB / 1.314 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/1.288, allocations: 288.1 kB / 1.314 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001812/1.289, allocations: 163.8 kB / 1.314 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001981/1.289, allocations: 214.8 kB / 1.314 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008019/1.29, allocations: 0.7549 MB / 1.315 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.29, allocations: 0 / 1.315 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of FrontEnd: time 3.046e-06/1.29, allocations: 0 / 1.315 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 9.618e-06/1.29, allocations: 0 / 1.315 GB, free: 28.85 MB / 1.061 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.001396/1.291, allocations: 0.7762 MB / 1.316 GB, free: 28.27 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.291, allocations: 8.406 kB / 1.316 GB, free: 28.27 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/1.293, allocations: 233.1 kB / 1.316 GB, free: 28.23 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/1.294, allocations: 383.4 kB / 1.316 GB, free: 27.97 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.294, allocations: 83.42 kB / 1.316 GB, free: 27.9 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/1.294, allocations: 13.34 kB / 1.316 GB, free: 27.89 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.295, allocations: 0.5357 MB / 1.317 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.295, allocations: 0 / 1.317 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/1.295, allocations: 0 / 1.317 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.295, allocations: 6.781 kB / 1.317 GB, free: 27.73 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.297, allocations: 0.7622 MB / 1.318 GB, free: 27.54 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/1.299, allocations: 1.237 MB / 1.319 GB, free: 26.97 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005084/1.304, allocations: 0.996 MB / 1.32 GB, free: 26.76 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009221/1.305, allocations: 396.3 kB / 1.32 GB, free: 26.64 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/1.305, allocations: 2.969 kB / 1.32 GB, free: 26.64 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.306, allocations: 0.5275 MB / 1.321 GB, free: 26.48 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=21): time 3.537e-06/1.306, allocations: 0 / 1.321 GB, free: 26.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=21): time 0.003167/1.31, allocations: 1.183 MB / 1.322 GB, free: 26.14 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.31, allocations: 58.25 kB / 1.322 GB, free: 26.07 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/1.31, allocations: 0.5176 MB / 1.322 GB, free: 25.84 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 6.515e-05/1.31, allocations: 42.86 kB / 1.323 GB, free: 25.8 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.31, allocations: 197.7 kB / 1.323 GB, free: 25.64 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/1.311, allocations: 75.94 kB / 1.323 GB, free: 25.57 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.311, allocations: 65.48 kB / 1.323 GB, free: 25.55 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 9.785e-05/1.311, allocations: 355.4 kB / 1.323 GB, free: 25.22 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.312, allocations: 468.3 kB / 1.324 GB, free: 25.09 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.313, allocations: 0.4925 MB / 1.324 GB, free: 24.95 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/1.315, allocations: 0.7592 MB / 1.325 GB, free: 24.72 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.315, allocations: 1.094 kB / 1.325 GB, free: 24.72 MB / 1.061 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.002673/1.318, allocations: 1.076 MB / 1.326 GB, free: 24.39 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/1.318, allocations: 41.44 kB / 1.326 GB, free: 24.35 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.318, allocations: 4.562 kB / 1.326 GB, free: 24.35 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.318, allocations: 5.344 kB / 1.326 GB, free: 24.34 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/1.319, allocations: 89.19 kB / 1.326 GB, free: 24.34 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.319, allocations: 1.375 kB / 1.326 GB, free: 24.34 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/1.319, allocations: 59.91 kB / 1.326 GB, free: 24.33 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/1.319, allocations: 20.14 kB / 1.326 GB, free: 24.32 MB / 1.061 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.0003477/1.32, allocations: 216.7 kB / 1.326 GB, free: 24.17 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.32, allocations: 47.84 kB / 1.326 GB, free: 24.14 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/1.32, allocations: 57 kB / 1.326 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.32, allocations: 1.125 kB / 1.326 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.32, allocations: 1.906 kB / 1.326 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.32, allocations: 0 / 1.326 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/1.321, allocations: 0.6216 MB / 1.327 GB, free: 23.79 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.321, allocations: 0 / 1.327 GB, free: 23.79 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/1.321, allocations: 96.7 kB / 1.327 GB, free: 23.77 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.321, allocations: 5.203 kB / 1.327 GB, free: 23.77 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/1.321, allocations: 15.83 kB / 1.327 GB, free: 23.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.321, allocations: 0.6875 kB / 1.327 GB, free: 23.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.321, allocations: 0.625 kB / 1.327 GB, free: 23.76 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/1.324, allocations: 0.8309 MB / 1.328 GB, free: 23.49 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/1.324, allocations: 120.4 kB / 1.328 GB, free: 23.43 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/1.324, allocations: 13.41 kB / 1.328 GB, free: 23.42 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/1.325, allocations: 63.22 kB / 1.328 GB, free: 23.41 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.325, allocations: 23.05 kB / 1.328 GB, free: 23.41 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.325, allocations: 15.84 kB / 1.328 GB, free: 23.4 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0006613/1.326, allocations: 386.5 kB / 1.329 GB, free: 23.23 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.326, allocations: 0 / 1.329 GB, free: 23.23 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.000547/1.326, allocations: 105 kB / 1.329 GB, free: 23.22 MB / 1.061 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.0003252/1.327, allocations: 143.5 kB / 1.329 GB, free: 23.11 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.002577/1.329, allocations: 0.9285 MB / 1.33 GB, free: 22.82 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.329, allocations: 0 / 1.33 GB, free: 22.82 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.001142/1.33, allocations: 409 kB / 1.33 GB, free: 22.72 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/1.331, allocations: 87.17 kB / 1.33 GB, free: 22.69 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.334, allocations: 1.062 MB / 1.331 GB, free: 22.23 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.334, allocations: 0.8616 MB / 1.332 GB, free: 21.5 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0005002/1.335, allocations: 131.4 kB / 1.332 GB, free: 21.46 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.335, allocations: 53.3 kB / 1.332 GB, free: 21.44 MB / 1.061 GB
Notification: Performance of SimCode: time 9.02e-07/1.335, allocations: 0 / 1.332 GB, free: 21.44 MB / 1.061 GB
Notification: Performance of Templates: time 0.02131/1.356, allocations: 8.964 MB / 1.341 GB, free: 20.74 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.745929270982742]