Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001424/0.001424, allocations: 110 kB / 18.93 MB, free: 2.945 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.001676/0.001676, allocations: 188 kB / 22.22 MB, free: 5.164 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.416/1.416, 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.09/3.09, allocations: 496 MB / 0.7835 GB, free: 33.6 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi")
translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 69.73 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3922, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002459/0.3946, allocations: 1.31 MB / 1.309 GB, free: 0.5312 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1896/0.5842, allocations: 148.1 MB / 1.453 GB, free: 11.84 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.5843, allocations: 0 / 1.453 GB, free: 11.84 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.5843, allocations: 3.938 kB / 1.453 GB, free: 11.83 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.5844, allocations: 7.922 kB / 1.453 GB, free: 11.82 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.5849, allocations: 115.4 kB / 1.453 GB, free: 11.71 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.585, allocations: 27.86 kB / 1.453 GB, free: 11.68 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.585, allocations: 4 kB / 1.453 GB, free: 11.68 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.5851, allocations: 7.984 kB / 1.453 GB, free: 11.67 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.5851, allocations: 7.938 kB / 1.453 GB, free: 11.66 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5851, allocations: 0 / 1.453 GB, free: 11.66 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.5856, allocations: 175.6 kB / 1.454 GB, free: 11.49 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.5856, allocations: 7.984 kB / 1.454 GB, free: 11.48 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.5856, allocations: 7.938 kB / 1.454 GB, free: 11.48 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.5859, allocations: 107.6 kB / 1.454 GB, free: 11.37 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.5859, allocations: 4 kB / 1.454 GB, free: 11.37 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.5859, allocations: 4 kB / 1.454 GB, free: 11.36 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 9.578e-06/0.5859, allocations: 3.984 kB / 1.454 GB, free: 11.36 MB / 1.154 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004141/0.5863, allocations: 270.1 kB / 1.454 GB, free: 11.07 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5864, allocations: 8.922 kB / 1.454 GB, free: 11.06 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.587, allocations: 44.84 kB / 1.454 GB, free: 11.02 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5871, allocations: 102.5 kB / 1.454 GB, free: 10.89 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5871, allocations: 7.938 kB / 1.454 GB, free: 10.88 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.5871, allocations: 4 kB / 1.454 GB, free: 10.88 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5873, allocations: 53.59 kB / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5873, allocations: 0 / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5873, allocations: 3.984 kB / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5873, allocations: 0 / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.5874, allocations: 15.98 kB / 1.454 GB, free: 10.8 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.5879, allocations: 228 kB / 1.454 GB, free: 10.54 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.5879, allocations: 18.58 kB / 1.454 GB, free: 10.51 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.5879, allocations: 12.86 kB / 1.454 GB, free: 10.49 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.588, allocations: 4 kB / 1.454 GB, free: 10.49 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.588, allocations: 38.56 kB / 1.454 GB, free: 10.44 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.588, allocations: 0 / 1.454 GB, free: 10.44 MB / 1.154 GB
Notification: Performance of matching and sorting (n=2): time 0.000161/0.5882, allocations: 41.69 kB / 1.454 GB, free: 10.39 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5882, allocations: 51.41 kB / 1.455 GB, free: 10.33 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5884, allocations: 109.8 kB / 1.455 GB, free: 10.21 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5884, allocations: 29.64 kB / 1.455 GB, free: 10.18 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.5884, allocations: 84.09 kB / 1.455 GB, free: 10.09 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.5884, allocations: 7.938 kB / 1.455 GB, free: 10.09 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.5885, allocations: 25.83 kB / 1.455 GB, free: 10.05 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001352/0.5886, allocations: 318.8 kB / 1.455 GB, free: 9.734 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.5887, allocations: 11.92 kB / 1.455 GB, free: 9.723 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.5887, allocations: 15.98 kB / 1.455 GB, free: 9.707 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.5888, allocations: 16.86 kB / 1.455 GB, free: 9.688 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5888, allocations: 3.938 kB / 1.455 GB, free: 9.684 MB / 1.154 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001799/0.589, allocations: 61.66 kB / 1.455 GB, free: 9.617 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.589, allocations: 6.031 kB / 1.455 GB, free: 9.613 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.589, allocations: 0 / 1.455 GB, free: 9.613 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.589, allocations: 0 / 1.455 GB, free: 9.613 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.5892, allocations: 15.98 kB / 1.455 GB, free: 9.598 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5892, allocations: 3.938 kB / 1.455 GB, free: 9.594 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.5893, allocations: 11.94 kB / 1.455 GB, free: 9.582 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.5893, allocations: 7.984 kB / 1.455 GB, free: 9.574 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * 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 9.245e-05/0.5894, allocations: 114.5 kB / 1.455 GB, free: 9.453 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.5894, allocations: 3.953 kB / 1.455 GB, free: 9.449 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.5895, allocations: 7.312 kB / 1.455 GB, free: 9.445 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5895, allocations: 4 kB / 1.455 GB, free: 9.441 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5895, allocations: 0 / 1.455 GB, free: 9.441 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5895, allocations: 3.938 kB / 1.455 GB, free: 9.438 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5896, allocations: 120.8 kB / 1.455 GB, free: 9.277 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5896, allocations: 8 kB / 1.455 GB, free: 9.27 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.5897, allocations: 4 kB / 1.455 GB, free: 9.266 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5897, allocations: 0 / 1.455 GB, free: 9.266 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.5897, allocations: 3.984 kB / 1.455 GB, free: 9.262 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5897, allocations: 0 / 1.455 GB, free: 9.262 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5897, allocations: 0 / 1.455 GB, free: 9.262 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.5898, allocations: 139.4 kB / 1.456 GB, free: 9.109 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.5898, allocations: 4.328 kB / 1.456 GB, free: 9.105 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5898, allocations: 8.016 kB / 1.456 GB, free: 9.098 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.59, allocations: 4 kB / 1.456 GB, free: 9.094 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.59, allocations: 3.984 kB / 1.456 GB, free: 9.09 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.59, allocations: 3.938 kB / 1.456 GB, free: 9.086 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 9.137e-05/0.5901, allocations: 95.2 kB / 1.456 GB, free: 8.992 MB / 1.154 GB
Notification: Performance of sort global known variables: time 7e-08/0.5901, allocations: 0 / 1.456 GB, free: 8.992 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0002465/0.5903, allocations: 12 kB / 1.456 GB, free: 8.98 MB / 1.154 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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 Backend phase and start with SimCode phase: time 0.0001892/0.5905, allocations: 115.2 kB / 1.456 GB, free: 8.859 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0001483/0.5906, allocations: 15.98 kB / 1.456 GB, free: 8.844 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5907, allocations: 4 kB / 1.456 GB, free: 8.84 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.5907, allocations: 3.938 kB / 1.456 GB, free: 8.836 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.591, allocations: 15.97 kB / 1.456 GB, free: 8.82 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.5913, allocations: 123.6 kB / 1.456 GB, free: 8.672 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.5917, allocations: 0.6805 MB / 1.457 GB, free: 7.965 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 5.713e-05/0.5917, allocations: 7.938 kB / 1.457 GB, free: 7.957 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.5917, allocations: 11.44 kB / 1.457 GB, free: 7.945 MB / 1.154 GB
Notification: Performance of SimCode: time 3.1e-07/0.5917, allocations: 0 / 1.457 GB, free: 7.945 MB / 1.154 GB
Notification: Performance of Templates: time 0.003669/0.5954, allocations: 0.7562 MB / 1.457 GB, free: 7.195 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.97022931277752]