Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002125/0.002125, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002665/0.002665, allocations: 185.9 kB / 22.23 MB, free: 5.137 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.518/1.518, 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-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 3.271/3.271, allocations: 496 MB / 0.7835 GB, free: 33.54 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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 61.33 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3667, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003212/0.3699, allocations: 1.676 MB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1895/0.5594, allocations: 152.1 MB / 1.457 GB, free: 7.457 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.5595, allocations: 4 kB / 1.457 GB, free: 7.453 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.5597, allocations: 19.8 kB / 1.457 GB, free: 7.434 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.5599, allocations: 39.72 kB / 1.457 GB, free: 7.395 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.5603, allocations: 151.4 kB / 1.458 GB, free: 7.246 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.0001948/0.5605, allocations: 127.5 kB / 1.458 GB, free: 7.121 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.5606, allocations: 21.58 kB / 1.458 GB, free: 7.094 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.562, allocations: 182.7 kB / 1.458 GB, free: 6.938 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.562, allocations: 43.78 kB / 1.458 GB, free: 6.895 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.5621, allocations: 8 kB / 1.458 GB, free: 6.887 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.5625, allocations: 179.6 kB / 1.458 GB, free: 6.711 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.5626, allocations: 23.92 kB / 1.458 GB, free: 6.688 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.5626, allocations: 47.73 kB / 1.458 GB, free: 6.641 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.5629, allocations: 187.3 kB / 1.458 GB, free: 6.457 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.563, allocations: 3.984 kB / 1.458 GB, free: 6.453 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.282e-06/0.563, allocations: 0 / 1.458 GB, free: 6.453 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 7.104e-06/0.563, allocations: 8 kB / 1.458 GB, free: 6.445 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007076/0.5637, allocations: 365.6 kB / 1.459 GB, free: 6.059 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5637, allocations: 8.031 kB / 1.459 GB, free: 6.051 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/0.5646, allocations: 79.98 kB / 1.459 GB, free: 5.973 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.5649, allocations: 149 kB / 1.459 GB, free: 5.801 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5649, allocations: 11.98 kB / 1.459 GB, free: 5.789 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.5649, allocations: 4 kB / 1.459 GB, free: 5.785 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.5653, allocations: 143.9 kB / 1.459 GB, free: 5.641 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5653, allocations: 3.938 kB / 1.459 GB, free: 5.637 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5654, allocations: 0 / 1.459 GB, free: 5.637 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5654, allocations: 3.938 kB / 1.459 GB, free: 5.633 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.5659, allocations: 143.8 kB / 1.459 GB, free: 5.492 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.5667, allocations: 375.6 kB / 1.46 GB, free: 5.082 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.5675, allocations: 178.5 kB / 1.46 GB, free: 4.898 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.5677, allocations: 72.8 kB / 1.46 GB, free: 4.824 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.5677, allocations: 0 / 1.46 GB, free: 4.824 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5678, allocations: 34.55 kB / 1.46 GB, free: 4.781 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.5678, allocations: 0 / 1.46 GB, free: 4.781 MB / 1.154 GB
Notification: Performance of matching and sorting (n=8): time 0.0008305/0.5686, allocations: 221.4 kB / 1.46 GB, free: 4.559 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5686, allocations: 55.41 kB / 1.46 GB, free: 4.492 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.5688, allocations: 146.6 kB / 1.46 GB, free: 4.344 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5688, allocations: 29.7 kB / 1.46 GB, free: 4.309 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.569, allocations: 100.1 kB / 1.46 GB, free: 4.207 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.569, allocations: 31.88 kB / 1.46 GB, free: 4.176 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.5691, allocations: 21.72 kB / 1.46 GB, free: 4.148 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0002662/0.5693, allocations: 330.8 kB / 1.461 GB, free: 3.816 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.5696, allocations: 51.94 kB / 1.461 GB, free: 3.766 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.5699, allocations: 78.52 kB / 1.461 GB, free: 3.68 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.5703, allocations: 116.8 kB / 1.461 GB, free: 3.562 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5703, allocations: 0 / 1.461 GB, free: 3.562 MB / 1.154 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004903/0.5708, allocations: 165.5 kB / 1.461 GB, free: 3.395 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5708, allocations: 7.938 kB / 1.461 GB, free: 3.387 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5708, allocations: 4 kB / 1.461 GB, free: 3.383 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5708, allocations: 4 kB / 1.461 GB, free: 3.379 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.571, allocations: 27.97 kB / 1.461 GB, free: 3.352 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5711, allocations: 0 / 1.461 GB, free: 3.352 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.5712, allocations: 23.92 kB / 1.461 GB, free: 3.328 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5712, allocations: 0 / 1.461 GB, free: 3.328 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 (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.0001284/0.5713, allocations: 129.7 kB / 1.461 GB, free: 3.191 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.5714, allocations: 15.95 kB / 1.461 GB, free: 3.176 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.5714, allocations: 16.7 kB / 1.461 GB, free: 3.16 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5715, allocations: 4 kB / 1.461 GB, free: 3.156 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5715, allocations: 0 / 1.461 GB, free: 3.156 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5715, allocations: 0 / 1.461 GB, free: 3.156 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/0.5724, allocations: 445.2 kB / 1.462 GB, free: 2.672 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5724, allocations: 0 / 1.462 GB, free: 2.672 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.5726, allocations: 27.97 kB / 1.462 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5726, allocations: 0 / 1.462 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5726, allocations: 0 / 1.462 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.5726, allocations: 3.938 kB / 1.462 GB, free: 2.641 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5726, allocations: 0 / 1.462 GB, free: 2.641 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.5731, allocations: 260 kB / 1.462 GB, free: 2.371 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.5732, allocations: 15.89 kB / 1.462 GB, free: 2.355 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.5732, allocations: 15.98 kB / 1.462 GB, free: 2.34 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.5734, allocations: 15.92 kB / 1.462 GB, free: 2.324 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.5734, allocations: 3.984 kB / 1.462 GB, free: 2.32 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5734, allocations: 4 kB / 1.462 GB, free: 2.316 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 9.867e-05/0.5735, allocations: 115.2 kB / 1.462 GB, free: 2.203 MB / 1.154 GB
Notification: Performance of sort global known variables: time 7e-08/0.5735, allocations: 0 / 1.462 GB, free: 2.203 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0002696/0.5738, allocations: 23.94 kB / 1.462 GB, free: 2.18 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 (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.0001964/0.574, allocations: 120 kB / 1.462 GB, free: 2.055 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0005347/0.5745, allocations: 123.9 kB / 1.463 GB, free: 1.934 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5746, allocations: 0 / 1.463 GB, free: 1.934 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.5748, allocations: 72.08 kB / 1.463 GB, free: 1.863 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5751, allocations: 31.91 kB / 1.463 GB, free: 1.832 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.5758, allocations: 247 kB / 1.463 GB, free: 1.566 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5762, allocations: 0.7002 MB / 1.464 GB, free: 0.8398 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0001285/0.5763, allocations: 24.42 kB / 1.464 GB, free: 0.8125 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.5763, allocations: 19.42 kB / 1.464 GB, free: 0.7969 MB / 1.154 GB
Notification: Performance of SimCode: time 2.9e-07/0.5763, allocations: 0 / 1.464 GB, free: 0.7969 MB / 1.154 GB
Notification: Performance of Templates: time 0.005567/0.5819, allocations: 2.008 MB / 1.466 GB, free: 14.82 MB / 1.17 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.347224255092442]