Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001662/0.001662, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001791/0.001791, allocations: 191.6 kB / 22.11 MB, free: 5.152 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.44/1.44, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.129/3.129, allocations: 495.8 MB / 0.783 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 66.2 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4266, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003614/0.4302, allocations: 1.676 MB / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002293/0.4325, allocations: 1.278 MB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4326, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.4329, allocations: 19.86 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.4332, allocations: 67.62 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.4337, allocations: 158.7 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004146/0.4341, allocations: 245.5 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4343, allocations: 15.98 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.4344, allocations: 91.81 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.4347, allocations: 95.7 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.4348, allocations: 20 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.4349, allocations: 71.98 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4351, allocations: 83.73 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.4352, allocations: 107.4 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.4357, allocations: 294.7 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4357, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.755e-06/0.4357, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.954e-06/0.4357, allocations: 0 / 1.311 GB, free: 13.62 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: 38
 * Number of variables: 38
Notification: Performance of Generate backend data structure: time 0.0009637/0.4367, allocations: 488.2 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4367, allocations: 12.92 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.4368, allocations: 28.75 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.4372, allocations: 210.9 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.4373, allocations: 12.38 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4373, allocations: 20.31 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.4377, allocations: 217.1 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4377, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.4378, allocations: 8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4378, allocations: 7.938 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4389, allocations: 0.7371 MB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.44, allocations: 0.5462 MB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.4404, allocations: 216.3 kB / 1.313 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4406, allocations: 92.81 kB / 1.313 GB, free: 10.92 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.4406, allocations: 19.95 kB / 1.313 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.441, allocations: 178 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.441, allocations: 0 / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33): time 0.0008237/0.4419, allocations: 379.4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.442, allocations: 132.5 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.4425, allocations: 312.9 kB / 1.314 GB, free: 9.863 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.4425, allocations: 29.7 kB / 1.314 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4426, allocations: 124.7 kB / 1.314 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4427, allocations: 115 kB / 1.315 GB, free: 9.586 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.4429, allocations: 61.69 kB / 1.315 GB, free: 9.52 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002291/0.4431, allocations: 338.8 kB / 1.315 GB, free: 9.18 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.4433, allocations: 79.89 kB / 1.315 GB, free: 9.102 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.4435, allocations: 127.4 kB / 1.315 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.444, allocations: 206.4 kB / 1.315 GB, free: 8.762 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.444, allocations: 0 / 1.315 GB, free: 8.762 MB / 1.014 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005622/0.4445, allocations: 269.4 kB / 1.316 GB, free: 8.492 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4446, allocations: 4 kB / 1.316 GB, free: 8.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4446, allocations: 4 kB / 1.316 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.4446, allocations: 3.984 kB / 1.316 GB, free: 8.48 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.4449, allocations: 59.91 kB / 1.316 GB, free: 8.422 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4449, allocations: 0 / 1.316 GB, free: 8.422 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.4451, allocations: 33.33 kB / 1.316 GB, free: 8.391 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.4451, allocations: 15.98 kB / 1.316 GB, free: 8.375 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (34):
 * Single equations (assignments): 34
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0002461/0.4454, allocations: 166.2 kB / 1.316 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.4454, allocations: 23.86 kB / 1.316 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.4463, allocations: 380.9 kB / 1.316 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4463, allocations: 4 kB / 1.316 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4463, allocations: 0 / 1.316 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4463, allocations: 7.922 kB / 1.316 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4467, allocations: 296.4 kB / 1.317 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4467, allocations: 0 / 1.317 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.4469, allocations: 63.84 kB / 1.317 GB, free: 7.395 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4469, allocations: 8 kB / 1.317 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.447, allocations: 11.98 kB / 1.317 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.447, allocations: 4 kB / 1.317 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.447, allocations: 0 / 1.317 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.4475, allocations: 322 kB / 1.317 GB, free: 7.039 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4477, allocations: 67.73 kB / 1.317 GB, free: 6.973 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.4477, allocations: 4 kB / 1.317 GB, free: 6.969 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4479, allocations: 23.97 kB / 1.317 GB, free: 6.945 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.4479, allocations: 27.91 kB / 1.317 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/0.448, allocations: 11.98 kB / 1.317 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.000269/0.4482, allocations: 236.4 kB / 1.317 GB, free: 6.672 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4482, allocations: 0 / 1.317 GB, free: 6.672 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003218/0.4486, allocations: 63.88 kB / 1.317 GB, free: 6.609 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: 2 ($whenCondition1,conTim.tNext)
 * Number of discrete states: 1 (conTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (33):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.001508/0.4501, allocations: 402.7 kB / 1.318 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004932/0.4506, allocations: 211.8 kB / 1.318 GB, free: 6.152 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4506, allocations: 7.938 kB / 1.318 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4508, allocations: 116.7 kB / 1.318 GB, free: 6.031 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.4511, allocations: 45.7 kB / 1.318 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.4521, allocations: 0.5054 MB / 1.319 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.4525, allocations: 0.7573 MB / 1.319 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000339/0.4529, allocations: 146.8 kB / 1.32 GB, free: 4.527 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.453, allocations: 43.42 kB / 1.32 GB, free: 4.484 MB / 1.014 GB
Notification: Performance of SimCode: time 8.91e-07/0.453, allocations: 0 / 1.32 GB, free: 4.484 MB / 1.014 GB
Notification: Performance of Templates: time 0.008014/0.461, allocations: 3.223 MB / 1.323 GB, free: 1.285 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.045215905644]