Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.001378/0.001378, 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.001463/0.001463, allocations: 189.4 kB / 22.23 MB, free: 5.16 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.478/1.478, 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-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.19/3.19, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX")
translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.28 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002982/0.419, allocations: 1.509 MB / 1.317 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001406/0.4204, allocations: 0.8099 MB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.4204, allocations: 4 kB / 1.318 GB, free: 7.395 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.4204, allocations: 7.922 kB / 1.318 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.4205, allocations: 7.875 kB / 1.318 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.421, allocations: 135.5 kB / 1.318 GB, free: 7.246 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000101/0.4211, allocations: 59.77 kB / 1.318 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4212, allocations: 11.94 kB / 1.318 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.4212, allocations: 19.92 kB / 1.319 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.4213, allocations: 27.86 kB / 1.319 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4213, allocations: 4 kB / 1.319 GB, free: 7.125 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.4217, allocations: 167.8 kB / 1.319 GB, free: 6.961 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.4217, allocations: 11.98 kB / 1.319 GB, free: 6.949 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.4217, allocations: 31.75 kB / 1.319 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.422, allocations: 147.5 kB / 1.319 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.422, allocations: 3.984 kB / 1.319 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.422, allocations: 4 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.993e-06/0.422, allocations: 0 / 1.319 GB, free: 6.766 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006452/0.4227, allocations: 317.9 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4227, allocations: 12.03 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.4228, allocations: 0.9375 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4229, allocations: 118.4 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4229, allocations: 8.375 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.4229, allocations: 4.312 kB / 1.319 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.4232, allocations: 74.2 kB / 1.319 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4232, allocations: 192 / 1.319 GB, free: 6.18 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4232, allocations: 3.938 kB / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4232, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4235, allocations: 75.92 kB / 1.319 GB, free: 6.102 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.424, allocations: 255.8 kB / 1.32 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.4242, allocations: 62.52 kB / 1.32 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.4243, allocations: 40.92 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.4245, allocations: 11.98 kB / 1.32 GB, free: 5.684 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4245, allocations: 30.56 kB / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4245, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005452/0.4251, allocations: 137.5 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4251, allocations: 55.41 kB / 1.32 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4252, allocations: 125.6 kB / 1.32 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4252, allocations: 25.7 kB / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.4253, allocations: 96.12 kB / 1.32 GB, free: 5.176 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4253, allocations: 7.891 kB / 1.32 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.4254, allocations: 13.72 kB / 1.32 GB, free: 5.148 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001656/0.4255, allocations: 326.8 kB / 1.321 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4257, allocations: 31.97 kB / 1.321 GB, free: 4.789 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4258, allocations: 31.95 kB / 1.321 GB, free: 4.758 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.4261, allocations: 68.8 kB / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4261, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.4264, allocations: 105.5 kB / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4264, allocations: 4 kB / 1.321 GB, free: 4.574 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4264, allocations: 0 / 1.321 GB, free: 4.574 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4264, allocations: 4 kB / 1.321 GB, free: 4.57 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4265, allocations: 19.92 kB / 1.321 GB, free: 4.551 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4265, allocations: 3.984 kB / 1.321 GB, free: 4.547 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.4266, allocations: 11.98 kB / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4266, allocations: 0 / 1.321 GB, free: 4.535 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: 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.698e-05/0.4267, allocations: 123 kB / 1.321 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4267, allocations: 7.953 kB / 1.321 GB, free: 4.398 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.4271, allocations: 109.5 kB / 1.321 GB, free: 4.273 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4271, allocations: 4 kB / 1.321 GB, free: 4.27 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4271, allocations: 0 / 1.321 GB, free: 4.27 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4271, allocations: 0 / 1.321 GB, free: 4.27 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4273, allocations: 144.7 kB / 1.321 GB, free: 4.086 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4273, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.4274, allocations: 15.98 kB / 1.321 GB, free: 4.07 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4274, allocations: 0 / 1.321 GB, free: 4.07 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4274, allocations: 4 kB / 1.321 GB, free: 4.066 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4274, allocations: 4 kB / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4274, allocations: 0 / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.4278, allocations: 203.7 kB / 1.321 GB, free: 3.848 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.4278, allocations: 48 / 1.321 GB, free: 3.848 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4278, allocations: 11.92 kB / 1.321 GB, free: 3.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.4279, allocations: 11.98 kB / 1.321 GB, free: 3.824 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.4279, allocations: 11.98 kB / 1.322 GB, free: 3.812 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.428, allocations: 3.938 kB / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.014e-05/0.428, allocations: 91.27 kB / 1.322 GB, free: 3.719 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.428, allocations: 0 / 1.322 GB, free: 3.719 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002749/0.4283, allocations: 31.88 kB / 1.322 GB, free: 3.688 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002307/0.4285, allocations: 135.2 kB / 1.322 GB, free: 3.547 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003465/0.4289, allocations: 63.92 kB / 1.322 GB, free: 3.484 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4289, allocations: 0 / 1.322 GB, free: 3.484 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.429, allocations: 39.97 kB / 1.322 GB, free: 3.445 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4293, allocations: 15.92 kB / 1.322 GB, free: 3.43 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4297, allocations: 151.3 kB / 1.322 GB, free: 3.258 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.43, allocations: 0.6846 MB / 1.323 GB, free: 2.547 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.074e-05/0.4301, allocations: 0 / 1.323 GB, free: 2.547 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.4301, allocations: 11.44 kB / 1.323 GB, free: 2.535 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4301, allocations: 4 kB / 1.323 GB, free: 2.531 MB / 1.014 GB
Notification: Performance of Templates: time 0.004562/0.4347, allocations: 1.391 MB / 1.324 GB, free: 1.156 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.070123362354934]