Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001538/0.001538, 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.001723/0.001723, allocations: 193.8 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.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.01 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 2.976/2.976, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX")
translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.86 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.342, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002468/0.3445, allocations: 1.27 MB / 1.317 GB, free: 8.418 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001459/0.346, allocations: 0.8528 MB / 1.318 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.346, allocations: 0 / 1.318 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.346, allocations: 0 / 1.318 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.3461, allocations: 7.922 kB / 1.318 GB, free: 7.555 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.3466, allocations: 131.4 kB / 1.318 GB, free: 7.426 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.3467, allocations: 23.94 kB / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3467, allocations: 3.984 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.3467, allocations: 15.92 kB / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.3468, allocations: 11.98 kB / 1.318 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3468, allocations: 3.938 kB / 1.318 GB, free: 7.367 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.3472, allocations: 167.7 kB / 1.318 GB, free: 7.203 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3472, allocations: 7.984 kB / 1.318 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.3472, allocations: 7.938 kB / 1.318 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3475, allocations: 119.7 kB / 1.319 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3475, allocations: 0 / 1.319 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.3475, allocations: 0 / 1.319 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.001e-06/0.3475, allocations: 4 kB / 1.319 GB, free: 7.066 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004711/0.348, allocations: 286 kB / 1.319 GB, free: 6.754 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.348, allocations: 12.03 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.348, allocations: 4.891 kB / 1.319 GB, free: 6.738 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3482, allocations: 114.5 kB / 1.319 GB, free: 6.602 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.3482, allocations: 26.27 kB / 1.319 GB, free: 6.57 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3482, allocations: 4.375 kB / 1.319 GB, free: 6.566 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3484, allocations: 50.23 kB / 1.319 GB, free: 6.512 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3484, allocations: 3.938 kB / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3484, allocations: 0 / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3484, allocations: 0 / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3485, allocations: 19.98 kB / 1.319 GB, free: 6.488 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.3487, allocations: 124.8 kB / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3489, allocations: 54.44 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.349, allocations: 16.94 kB / 1.319 GB, free: 6.242 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3492, allocations: 23.98 kB / 1.319 GB, free: 6.219 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3492, allocations: 38.55 kB / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3492, allocations: 0 / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0002492/0.3495, allocations: 65.58 kB / 1.319 GB, free: 6.102 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3495, allocations: 63.39 kB / 1.319 GB, free: 6.027 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.3496, allocations: 93.8 kB / 1.32 GB, free: 5.926 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3496, allocations: 29.7 kB / 1.32 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3497, allocations: 84.14 kB / 1.32 GB, free: 5.805 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3497, allocations: 7.891 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3497, allocations: 25.66 kB / 1.32 GB, free: 5.766 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001409/0.3499, allocations: 310.8 kB / 1.32 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.3499, allocations: 8 kB / 1.32 GB, free: 5.445 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.35, allocations: 16.36 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.3501, allocations: 32.92 kB / 1.32 GB, free: 5.395 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3501, allocations: 3.938 kB / 1.32 GB, free: 5.391 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001449/0.3502, allocations: 53.69 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3502, allocations: 7.938 kB / 1.32 GB, free: 5.324 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3502, allocations: 0 / 1.32 GB, free: 5.324 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3502, allocations: 7.938 kB / 1.32 GB, free: 5.316 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.3503, allocations: 7.984 kB / 1.32 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3503, allocations: 4 kB / 1.32 GB, free: 5.305 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.3503, allocations: 4 kB / 1.32 GB, free: 5.301 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3503, allocations: 0 / 1.32 GB, free: 5.301 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 (4):
 * Single equations (assignments): 4
 * 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 8.619e-05/0.3504, allocations: 115.2 kB / 1.32 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3504, allocations: 3.938 kB / 1.32 GB, free: 5.176 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3507, allocations: 65.36 kB / 1.32 GB, free: 5.098 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3507, allocations: 3.984 kB / 1.32 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3507, allocations: 4 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3507, allocations: 4 kB / 1.32 GB, free: 5.086 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3508, allocations: 124.8 kB / 1.32 GB, free: 4.922 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3508, allocations: 3.938 kB / 1.32 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.3508, allocations: 8 kB / 1.32 GB, free: 4.91 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3508, allocations: 3.938 kB / 1.32 GB, free: 4.906 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3508, allocations: 0 / 1.32 GB, free: 4.906 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3509, allocations: 4 kB / 1.32 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3509, allocations: 0 / 1.32 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.351, allocations: 89.06 kB / 1.321 GB, free: 4.797 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.3511, allocations: 4 kB / 1.321 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3511, allocations: 7.922 kB / 1.321 GB, free: 4.785 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.3511, allocations: 4 kB / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3512, allocations: 3.938 kB / 1.321 GB, free: 4.777 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3512, allocations: 4 kB / 1.321 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.35e-05/0.3512, allocations: 79.27 kB / 1.321 GB, free: 4.695 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3512, allocations: 0 / 1.321 GB, free: 4.695 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002349/0.3515, allocations: 39.81 kB / 1.321 GB, free: 4.656 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 (4):
 * Single equations (assignments): 4
 * 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.0002381/0.3517, allocations: 147 kB / 1.321 GB, free: 4.5 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001539/0.3519, allocations: 23.98 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3519, allocations: 0 / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.3519, allocations: 15.98 kB / 1.321 GB, free: 4.461 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3521, allocations: 11.27 kB / 1.321 GB, free: 4.453 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.3524, allocations: 135.4 kB / 1.321 GB, free: 4.297 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3527, allocations: 0.6772 MB / 1.322 GB, free: 3.594 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.936e-05/0.3528, allocations: 7.859 kB / 1.322 GB, free: 3.586 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3528, allocations: 7.438 kB / 1.322 GB, free: 3.578 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.3528, allocations: 4 kB / 1.322 GB, free: 3.574 MB / 1.014 GB
Notification: Performance of Templates: time 0.003713/0.3565, allocations: 1.086 MB / 1.323 GB, free: 2.496 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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: 8.317856699228287]