Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001327/0.001327, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001418/0.001418, allocations: 188.9 kB / 22.23 MB, free: 5.133 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.446/1.446, allocations: 225.6 MB / 251 MB, free: 13.04 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.143/3.143, allocations: 495.7 MB / 0.7831 GB, free: 33.46 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.02 kB / 1.137 GB, free: 33.99 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3203, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003073/0.3234, allocations: 1.695 MB / 1.309 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001885/0.3253, allocations: 1.274 MB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3253, allocations: 0 / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.3255, allocations: 19.84 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.3258, allocations: 71.62 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3262, allocations: 162.2 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003067/0.3265, allocations: 241.5 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.3266, allocations: 19.97 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3267, allocations: 79.83 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.3269, allocations: 99.64 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.327, allocations: 20 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3271, allocations: 75.97 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3272, allocations: 79.81 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3273, allocations: 107.3 kB / 1.311 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.3277, allocations: 294.8 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3277, allocations: 4 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.3277, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.234e-06/0.3277, allocations: 0 / 1.311 GB, free: 13.73 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.0007943/0.3285, allocations: 477.6 kB / 1.312 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.3286, allocations: 15.97 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.3286, allocations: 28.75 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.329, allocations: 218.9 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.329, allocations: 8.375 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.329, allocations: 24.38 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3295, allocations: 217 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3295, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3295, allocations: 8 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3295, allocations: 4 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/0.3305, allocations: 0.7332 MB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.3315, allocations: 0.5579 MB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.3319, allocations: 208.3 kB / 1.314 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.332, allocations: 88.81 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3321, allocations: 23.97 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.3325, allocations: 174 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.3325, allocations: 4 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33): time 0.0007795/0.3332, allocations: 367.4 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.3333, allocations: 140.5 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.3337, allocations: 308.9 kB / 1.315 GB, free: 9.988 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3337, allocations: 29.7 kB / 1.315 GB, free: 9.953 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.3338, allocations: 128.7 kB / 1.315 GB, free: 9.82 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/0.3339, allocations: 111 kB / 1.315 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.334, allocations: 65.69 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001607/0.3341, allocations: 342.8 kB / 1.315 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3343, allocations: 75.95 kB / 1.315 GB, free: 9.223 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3346, allocations: 123.3 kB / 1.315 GB, free: 9.09 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.3349, allocations: 210.3 kB / 1.316 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3349, allocations: 0 / 1.316 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004571/0.3354, allocations: 269.4 kB / 1.316 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3354, allocations: 8 kB / 1.316 GB, free: 8.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3354, allocations: 0 / 1.316 GB, free: 8.605 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3354, allocations: 4 kB / 1.316 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.3356, allocations: 59.91 kB / 1.316 GB, free: 8.543 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3356, allocations: 0 / 1.316 GB, free: 8.543 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3358, allocations: 31.77 kB / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.3358, allocations: 19.92 kB / 1.316 GB, free: 8.492 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.000174/0.336, allocations: 158.3 kB / 1.316 GB, free: 8.328 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.3361, allocations: 23.86 kB / 1.316 GB, free: 8.305 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.3368, allocations: 381 kB / 1.317 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3368, allocations: 7.984 kB / 1.317 GB, free: 7.918 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3368, allocations: 0 / 1.317 GB, free: 7.918 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3368, allocations: 7.938 kB / 1.317 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.3372, allocations: 304.4 kB / 1.317 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3372, allocations: 4 kB / 1.317 GB, free: 7.566 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3373, allocations: 55.91 kB / 1.317 GB, free: 7.512 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3374, allocations: 4 kB / 1.317 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3374, allocations: 8 kB / 1.317 GB, free: 7.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3374, allocations: 0 / 1.317 GB, free: 7.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3374, allocations: 0 / 1.317 GB, free: 7.5 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.3379, allocations: 329.9 kB / 1.317 GB, free: 7.16 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.338, allocations: 63.73 kB / 1.317 GB, free: 7.098 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3381, allocations: 4 kB / 1.317 GB, free: 7.094 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3383, allocations: 19.98 kB / 1.317 GB, free: 7.074 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3383, allocations: 23.89 kB / 1.317 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.3384, allocations: 19.98 kB / 1.317 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002462/0.3386, allocations: 232.5 kB / 1.318 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 1.318 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003187/0.3389, allocations: 59.92 kB / 1.318 GB, free: 6.742 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.001561/0.3405, allocations: 411.5 kB / 1.318 GB, free: 6.484 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004802/0.341, allocations: 215.8 kB / 1.318 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.341, allocations: 4 kB / 1.318 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3412, allocations: 112.7 kB / 1.318 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3415, allocations: 32.66 kB / 1.318 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3426, allocations: 0.5054 MB / 1.319 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.3431, allocations: 0.7573 MB / 1.32 GB, free: 4.809 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0003512/0.3434, allocations: 150.8 kB / 1.32 GB, free: 4.664 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.3435, allocations: 47.36 kB / 1.32 GB, free: 4.617 MB / 1.014 GB
Notification: Performance of SimCode: time 5.51e-07/0.3435, allocations: 0 / 1.32 GB, free: 4.617 MB / 1.014 GB
Notification: Performance of Templates: time 0.008015/0.3515, allocations: 3.23 MB / 1.323 GB, free: 1.418 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.985518267378211]