Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00149/0.00149, 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.001577/0.001577, 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.927/2.927, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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-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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 70.23 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002303/0.3134, allocations: 1.286 MB / 1.317 GB, free: 8.367 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1616/0.475, allocations: 148.1 MB / 1.462 GB, free: 3.664 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.475, allocations: 0 / 1.462 GB, free: 3.664 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.475, allocations: 0 / 1.462 GB, free: 3.664 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.475, allocations: 7.922 kB / 1.462 GB, free: 3.656 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.4754, allocations: 119.4 kB / 1.462 GB, free: 3.539 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.4755, allocations: 23.86 kB / 1.462 GB, free: 3.516 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.4755, allocations: 0 / 1.462 GB, free: 3.516 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.4756, allocations: 7.938 kB / 1.462 GB, free: 3.508 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.4756, allocations: 7.984 kB / 1.462 GB, free: 3.5 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.4756, allocations: 0 / 1.462 GB, free: 3.5 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.476, allocations: 183.6 kB / 1.462 GB, free: 3.32 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.476, allocations: 3.938 kB / 1.462 GB, free: 3.316 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.476, allocations: 8 kB / 1.462 GB, free: 3.309 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.4763, allocations: 115.6 kB / 1.462 GB, free: 3.195 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4763, allocations: 4 kB / 1.462 GB, free: 3.191 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.072e-06/0.4763, allocations: 0 / 1.462 GB, free: 3.191 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 8.156e-06/0.4763, allocations: 0 / 1.462 GB, free: 3.191 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.0003216/0.4766, allocations: 274 kB / 1.463 GB, free: 2.895 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.4766, allocations: 8.031 kB / 1.463 GB, free: 2.887 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.4772, allocations: 40.89 kB / 1.463 GB, free: 2.848 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4773, allocations: 106.5 kB / 1.463 GB, free: 2.719 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4773, allocations: 3.938 kB / 1.463 GB, free: 2.715 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4773, allocations: 3.938 kB / 1.463 GB, free: 2.711 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.4774, allocations: 53.59 kB / 1.463 GB, free: 2.652 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4774, allocations: 3.938 kB / 1.463 GB, free: 2.648 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4775, allocations: 4 kB / 1.463 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4775, allocations: 0 / 1.463 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4776, allocations: 19.97 kB / 1.463 GB, free: 2.625 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.4779, allocations: 224 kB / 1.463 GB, free: 2.363 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.478, allocations: 22.56 kB / 1.463 GB, free: 2.332 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.478, allocations: 12.92 kB / 1.463 GB, free: 2.316 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.478, allocations: 4 kB / 1.463 GB, free: 2.312 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.478, allocations: 38.48 kB / 1.463 GB, free: 2.266 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.478, allocations: 0 / 1.463 GB, free: 2.266 MB / 1.154 GB
Notification: Performance of matching and sorting (n=2): time 0.0001412/0.4782, allocations: 45.66 kB / 1.463 GB, free: 2.215 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4782, allocations: 51.41 kB / 1.463 GB, free: 2.152 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4783, allocations: 109.8 kB / 1.463 GB, free: 2.035 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4784, allocations: 29.83 kB / 1.463 GB, free: 2 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.4784, allocations: 84.12 kB / 1.463 GB, free: 1.914 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 6.523e-06/0.4784, allocations: 3.953 kB / 1.463 GB, free: 1.91 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4785, allocations: 21.7 kB / 1.463 GB, free: 1.883 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001187/0.4786, allocations: 314.8 kB / 1.464 GB, free: 1.566 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.4786, allocations: 11.98 kB / 1.464 GB, free: 1.555 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.4787, allocations: 15.92 kB / 1.464 GB, free: 1.539 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/0.4788, allocations: 28.84 kB / 1.464 GB, free: 1.508 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4788, allocations: 0 / 1.464 GB, free: 1.508 MB / 1.154 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000183/0.479, allocations: 49.67 kB / 1.464 GB, free: 1.453 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.479, allocations: 8 kB / 1.464 GB, free: 1.445 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.479, allocations: 0 / 1.464 GB, free: 1.445 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.479, allocations: 0 / 1.464 GB, free: 1.445 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4791, allocations: 15.98 kB / 1.464 GB, free: 1.43 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4791, allocations: 7.984 kB / 1.464 GB, free: 1.422 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.4793, allocations: 11.92 kB / 1.464 GB, free: 1.41 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4793, allocations: 0 / 1.464 GB, free: 1.41 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 7.813e-05/0.4793, allocations: 118.2 kB / 1.464 GB, free: 1.285 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.4794, allocations: 3.953 kB / 1.464 GB, free: 1.281 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.4794, allocations: 7.312 kB / 1.464 GB, free: 1.273 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4794, allocations: 0 / 1.464 GB, free: 1.273 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4794, allocations: 7.938 kB / 1.464 GB, free: 1.266 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4794, allocations: 7.938 kB / 1.464 GB, free: 1.258 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4795, allocations: 120.8 kB / 1.464 GB, free: 1.098 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.4795, allocations: 0 / 1.464 GB, free: 1.098 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.4796, allocations: 3.984 kB / 1.464 GB, free: 1.094 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4796, allocations: 8 kB / 1.464 GB, free: 1.086 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.4796, allocations: 0 / 1.464 GB, free: 1.086 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4796, allocations: 0 / 1.464 GB, free: 1.086 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4796, allocations: 3.938 kB / 1.464 GB, free: 1.082 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.4797, allocations: 139.5 kB / 1.464 GB, free: 0.9297 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.4797, allocations: 7.984 kB / 1.464 GB, free: 0.9219 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4797, allocations: 0 / 1.464 GB, free: 0.9219 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.4798, allocations: 0 / 1.464 GB, free: 0.9219 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.4798, allocations: 7.938 kB / 1.464 GB, free: 0.9141 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.4798, allocations: 3.938 kB / 1.464 GB, free: 0.9102 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 9.757e-05/0.4799, allocations: 95.58 kB / 1.464 GB, free: 0.8164 MB / 1.154 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.4799, allocations: 4.031 kB / 1.464 GB, free: 0.8125 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0002275/0.4802, allocations: 12 kB / 1.464 GB, free: 0.8008 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.0001568/0.4803, allocations: 110.1 kB / 1.465 GB, free: 0.6875 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0001372/0.4805, allocations: 23.98 kB / 1.465 GB, free: 0.6641 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.4805, allocations: 0 / 1.465 GB, free: 0.6641 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.4805, allocations: 7.984 kB / 1.465 GB, free: 0.6562 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.4808, allocations: 8.062 kB / 1.465 GB, free: 0.6484 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.481, allocations: 115.5 kB / 1.465 GB, free: 0.5078 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4813, allocations: 0.6805 MB / 1.465 GB, free: 15.8 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 5.604e-05/0.4814, allocations: 8 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.4814, allocations: 7.438 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of SimCode: time 2.71e-07/0.4814, allocations: 0 / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of Templates: time 0.003042/0.4845, allocations: 0.7685 MB / 1.466 GB, free: 15.02 MB / 1.17 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.225520410574973]