Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001359/0.001359, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001432/0.001432, allocations: 191.4 kB / 22.11 MB, free: 4.223 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.474/1.474, allocations: 225.6 MB / 250.8 MB, free: 2.934 MB / 190.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 2.943/2.943, allocations: 495.8 MB / 0.783 GB, free: 12.28 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-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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 1.137 GB, free: 12.27 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001953/1.054, allocations: 1.283 MB / 1.308 GB, free: 32.86 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001066/1.055, allocations: 0.8377 MB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/1.055, allocations: 0 / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.511e-05/1.056, allocations: 3.938 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.557e-05/1.056, allocations: 10.72 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000442/1.056, allocations: 122.5 kB / 1.309 GB, free: 32.22 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 7.785e-05/1.056, allocations: 31.06 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/1.056, allocations: 3.234 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/1.056, allocations: 13.84 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/1.056, allocations: 9.141 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.567e-05/1.056, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/1.056, allocations: 161.5 kB / 1.309 GB, free: 32.15 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.042e-05/1.057, allocations: 14.56 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.361e-05/1.057, allocations: 10.97 kB / 1.309 GB, free: 32.14 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002222/1.057, allocations: 118.7 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.057, allocations: 2.812 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.783e-06/1.057, allocations: 0 / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.56e-06/1.057, allocations: 0 / 1.309 GB, free: 32.11 MB / 1.061 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.0004064/1.057, allocations: 279.3 kB / 1.31 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.057, allocations: 9.25 kB / 1.31 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/1.057, allocations: 7.797 kB / 1.31 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/1.057, allocations: 116.7 kB / 1.31 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.057, allocations: 33.11 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/1.057, allocations: 3.031 kB / 1.31 GB, free: 31.65 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/1.058, allocations: 49.98 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.058, allocations: 3.938 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.058, allocations: 0 / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.058, allocations: 0 / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/1.058, allocations: 22.27 kB / 1.31 GB, free: 31.6 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/1.058, allocations: 129.7 kB / 1.31 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/1.058, allocations: 50.8 kB / 1.31 GB, free: 31.41 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/1.058, allocations: 10.3 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/1.058, allocations: 27.19 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.058, allocations: 41.38 kB / 1.31 GB, free: 31.35 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.058, allocations: 3.938 kB / 1.31 GB, free: 31.35 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4): time 0.0002914/1.059, allocations: 65.91 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.059, allocations: 51.41 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/1.059, allocations: 98.56 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.236e-05/1.059, allocations: 25.7 kB / 1.31 GB, free: 31.11 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/1.059, allocations: 84.14 kB / 1.31 GB, free: 31.03 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/1.059, allocations: 14.59 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/1.059, allocations: 16.38 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.04e-05/1.059, allocations: 317 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.168e-05/1.059, allocations: 5.844 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/1.059, allocations: 13.22 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/1.059, allocations: 28.14 kB / 1.311 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.059, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/1.059, allocations: 62.84 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.059, allocations: 12.66 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.059, allocations: 0 / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.059, allocations: 2.75 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/1.059, allocations: 5.5 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.059, allocations: 4 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/1.059, allocations: 2.969 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/1.059, allocations: 0 / 1.311 GB, free: 30.61 MB / 1.061 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 5.719e-05/1.059, allocations: 120.1 kB / 1.311 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/1.059, allocations: 11.88 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/1.06, allocations: 68.3 kB / 1.311 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.06, allocations: 3.938 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.06, allocations: 0 / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.06, allocations: 3.281 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.983e-05/1.06, allocations: 133.7 kB / 1.311 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.06, allocations: 2.938 kB / 1.311 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/1.06, allocations: 6.406 kB / 1.311 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.06, allocations: 3.938 kB / 1.311 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.06, allocations: 4 kB / 1.311 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.06, allocations: 0 / 1.311 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/1.06, allocations: 0 / 1.311 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/1.06, allocations: 91.97 kB / 1.311 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/1.06, allocations: 9.719 kB / 1.311 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.06, allocations: 7.875 kB / 1.311 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/1.06, allocations: 6.344 kB / 1.311 GB, free: 30.16 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.06, allocations: 6.812 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/1.06, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.357e-05/1.06, allocations: 81.36 kB / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.06, allocations: 0 / 1.311 GB, free: 30.08 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002525/1.06, allocations: 34.56 kB / 1.311 GB, free: 30.07 MB / 1.061 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.0002378/1.061, allocations: 130 kB / 1.312 GB, free: 29.97 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001828/1.061, allocations: 31.45 kB / 1.312 GB, free: 29.96 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.061, allocations: 4 kB / 1.312 GB, free: 29.96 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 5.345e-05/1.061, allocations: 15.84 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.061, allocations: 5.438 kB / 1.312 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/1.061, allocations: 132 kB / 1.312 GB, free: 29.84 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/1.062, allocations: 0.675 MB / 1.312 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.034e-05/1.062, allocations: 10.58 kB / 1.312 GB, free: 29.13 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/1.062, allocations: 14.41 kB / 1.312 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of SimCode: time 3.81e-07/1.062, allocations: 3.938 kB / 1.312 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of Templates: time 0.003662/1.065, allocations: 1.083 MB / 1.313 GB, free: 28.98 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.375458922237158]