Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.00147/0.00147, allocations: 109 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.001606/0.001606, allocations: 192.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.491/1.491, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi")
translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 71.89 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7832, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003703/0.7869, allocations: 1.663 MB / 1.276 GB, free: 2.535 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.1997/0.9866, allocations: 152.1 MB / 1.424 GB, free: 9.875 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.9867, allocations: 4 kB / 1.424 GB, free: 9.871 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.9869, allocations: 15.81 kB / 1.424 GB, free: 9.855 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.9872, allocations: 47.69 kB / 1.425 GB, free: 9.809 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.9877, allocations: 143.4 kB / 1.425 GB, free: 9.668 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.0002057/0.9879, allocations: 127.6 kB / 1.425 GB, free: 9.543 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.988, allocations: 20.27 kB / 1.425 GB, free: 9.523 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.9895, allocations: 195.4 kB / 1.425 GB, free: 9.355 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.9896, allocations: 43.78 kB / 1.425 GB, free: 9.312 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.9896, allocations: 8 kB / 1.425 GB, free: 9.305 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.99, allocations: 179.7 kB / 1.425 GB, free: 9.129 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.9901, allocations: 27.91 kB / 1.425 GB, free: 9.102 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.9901, allocations: 43.73 kB / 1.425 GB, free: 9.059 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.9906, allocations: 191 kB / 1.425 GB, free: 8.875 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9906, allocations: 0 / 1.425 GB, free: 8.875 MB / 1.123 GB
Notification: Performance of FrontEnd: time 5.381e-06/0.9906, allocations: 4 kB / 1.425 GB, free: 8.871 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 1.379e-05/0.9906, allocations: 4 kB / 1.425 GB, free: 8.867 MB / 1.123 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007413/0.9914, allocations: 373.5 kB / 1.426 GB, free: 8.473 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.9914, allocations: 8.031 kB / 1.426 GB, free: 8.465 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9924, allocations: 87.98 kB / 1.426 GB, free: 8.379 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.9927, allocations: 151.4 kB / 1.426 GB, free: 8.207 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.9927, allocations: 4 kB / 1.426 GB, free: 8.203 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.9927, allocations: 8 kB / 1.426 GB, free: 8.195 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.9932, allocations: 137.5 kB / 1.426 GB, free: 8.055 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9932, allocations: 0 / 1.426 GB, free: 8.055 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.9932, allocations: 4 kB / 1.426 GB, free: 8.051 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.9933, allocations: 7.938 kB / 1.426 GB, free: 8.043 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.9938, allocations: 135.9 kB / 1.426 GB, free: 7.91 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.9947, allocations: 383.5 kB / 1.427 GB, free: 7.492 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.9954, allocations: 170.6 kB / 1.427 GB, free: 7.316 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.9956, allocations: 80.73 kB / 1.427 GB, free: 7.234 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.9956, allocations: 0 / 1.427 GB, free: 7.234 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.9957, allocations: 30.56 kB / 1.427 GB, free: 7.195 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.9957, allocations: 0 / 1.427 GB, free: 7.195 MB / 1.123 GB
Notification: Performance of matching and sorting (n=8): time 0.0008097/0.9965, allocations: 217.4 kB / 1.427 GB, free: 6.977 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.9965, allocations: 59.39 kB / 1.427 GB, free: 6.906 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.9967, allocations: 139.5 kB / 1.427 GB, free: 6.758 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.9967, allocations: 33.7 kB / 1.427 GB, free: 6.719 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.9968, allocations: 100.1 kB / 1.427 GB, free: 6.617 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.9968, allocations: 27.89 kB / 1.428 GB, free: 6.59 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.9969, allocations: 29.64 kB / 1.428 GB, free: 6.555 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001504/0.997, allocations: 330.7 kB / 1.428 GB, free: 6.223 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.9972, allocations: 55.88 kB / 1.428 GB, free: 6.168 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.9975, allocations: 78.52 kB / 1.428 GB, free: 6.082 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.9979, allocations: 120.8 kB / 1.428 GB, free: 5.961 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9979, allocations: 0 / 1.428 GB, free: 5.961 MB / 1.123 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004951/0.9984, allocations: 157.5 kB / 1.428 GB, free: 5.801 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9984, allocations: 4 kB / 1.428 GB, free: 5.797 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.9984, allocations: 0 / 1.428 GB, free: 5.797 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9984, allocations: 4 kB / 1.428 GB, free: 5.793 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.9987, allocations: 31.91 kB / 1.428 GB, free: 5.762 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9987, allocations: 0 / 1.428 GB, free: 5.762 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.9988, allocations: 31.86 kB / 1.428 GB, free: 5.73 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.9988, allocations: 0 / 1.428 GB, free: 5.73 MB / 1.123 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 (8):
 * Single equations (assignments): 8
 * 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 0.0001132/0.999, allocations: 121.8 kB / 1.428 GB, free: 5.602 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.999, allocations: 7.953 kB / 1.428 GB, free: 5.594 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.9991, allocations: 20.7 kB / 1.428 GB, free: 5.574 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.9991, allocations: 4 kB / 1.428 GB, free: 5.57 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9991, allocations: 0 / 1.428 GB, free: 5.57 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9991, allocations: 0 / 1.428 GB, free: 5.57 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008536/0.9999, allocations: 437.3 kB / 1.429 GB, free: 5.094 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9999, allocations: 0 / 1.429 GB, free: 5.094 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/1, allocations: 31.97 kB / 1.429 GB, free: 5.062 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1, allocations: 0 / 1.429 GB, free: 5.062 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1, allocations: 0 / 1.429 GB, free: 5.062 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-06/1, allocations: 3.938 kB / 1.429 GB, free: 5.059 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1, allocations: 0.625 kB / 1.429 GB, free: 5.059 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/1.001, allocations: 267.4 kB / 1.429 GB, free: 4.781 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/1.001, allocations: 7.906 kB / 1.429 GB, free: 4.773 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/1.001, allocations: 11.94 kB / 1.429 GB, free: 4.762 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.001, allocations: 23.91 kB / 1.429 GB, free: 4.738 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/1.001, allocations: 7.984 kB / 1.429 GB, free: 4.73 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/1.001, allocations: 4 kB / 1.429 GB, free: 4.727 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 8.985e-05/1.001, allocations: 113.1 kB / 1.429 GB, free: 4.617 MB / 1.123 GB
Notification: Performance of sort global known variables: time 1e-07/1.001, allocations: 0 / 1.429 GB, free: 4.617 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.0002881/1.001, allocations: 31.94 kB / 1.429 GB, free: 4.586 MB / 1.123 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 (8):
 * Single equations (assignments): 8
 * 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.0002204/1.002, allocations: 119.1 kB / 1.429 GB, free: 4.461 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0005285/1.002, allocations: 115.9 kB / 1.43 GB, free: 4.348 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.002, allocations: 0 / 1.43 GB, free: 4.348 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002294/1.002, allocations: 75.81 kB / 1.43 GB, free: 4.273 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/1.003, allocations: 27.97 kB / 1.43 GB, free: 4.246 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/1.003, allocations: 242.5 kB / 1.43 GB, free: 3.98 MB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/1.004, allocations: 0.7002 MB / 1.431 GB, free: 3.254 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 0.0001379/1.004, allocations: 28.41 kB / 1.431 GB, free: 3.227 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/1.004, allocations: 19.42 kB / 1.431 GB, free: 3.207 MB / 1.123 GB
Notification: Performance of SimCode: time 6.51e-07/1.004, allocations: 3.938 kB / 1.431 GB, free: 3.203 MB / 1.123 GB
Notification: Performance of Templates: time 0.006171/1.01, allocations: 1.997 MB / 1.433 GB, free: 1.23 MB / 1.123 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.989424993284047]