Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 216.4 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.86 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3951, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003099/0.3982, allocations: 1.629 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.5842, allocations: 133.2 MB / 1.496 GB, free: 6.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.5843, allocations: 4 kB / 1.496 GB, free: 6.246 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.5845, allocations: 15.8 kB / 1.496 GB, free: 6.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.5848, allocations: 39.72 kB / 1.496 GB, free: 6.191 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.5852, allocations: 151.4 kB / 1.496 GB, free: 6.043 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.5854, allocations: 127.6 kB / 1.496 GB, free: 5.918 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5855, allocations: 13.59 kB / 1.496 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.587, allocations: 180.9 kB / 1.496 GB, free: 5.746 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.587, allocations: 35.78 kB / 1.496 GB, free: 5.711 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.587, allocations: 12 kB / 1.496 GB, free: 5.699 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.5874, allocations: 171.7 kB / 1.496 GB, free: 5.531 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.5875, allocations: 27.92 kB / 1.496 GB, free: 5.504 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.5875, allocations: 35.8 kB / 1.496 GB, free: 5.469 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.5879, allocations: 195.3 kB / 1.496 GB, free: 5.277 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5879, allocations: 0 / 1.496 GB, free: 5.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5879, allocations: 3.938 kB / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5879, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 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.0006682/0.5886, allocations: 373.5 kB / 1.497 GB, free: 4.879 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5886, allocations: 12.03 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.5896, allocations: 91.91 kB / 1.497 GB, free: 4.777 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.5899, allocations: 149 kB / 1.497 GB, free: 4.605 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5899, allocations: 8 kB / 1.497 GB, free: 4.598 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.5899, allocations: 7.938 kB / 1.497 GB, free: 4.59 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.5904, allocations: 137.5 kB / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5904, allocations: 0 / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5904, allocations: 0 / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5904, allocations: 15.88 kB / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.5909, allocations: 131.9 kB / 1.497 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.5917, allocations: 336.1 kB / 1.498 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.5924, allocations: 166.6 kB / 1.498 GB, free: 3.773 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5926, allocations: 72.78 kB / 1.498 GB, free: 3.699 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5926, allocations: 3.984 kB / 1.498 GB, free: 3.695 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5927, allocations: 42.5 kB / 1.498 GB, free: 3.645 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.5927, allocations: 0 / 1.498 GB, free: 3.645 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.0007907/0.5935, allocations: 213.5 kB / 1.498 GB, free: 3.43 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5935, allocations: 51.41 kB / 1.498 GB, free: 3.367 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.5936, allocations: 136 kB / 1.498 GB, free: 3.227 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.5936, allocations: 25.7 kB / 1.498 GB, free: 3.195 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.5937, allocations: 108.1 kB / 1.498 GB, free: 3.086 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.5938, allocations: 31.88 kB / 1.498 GB, free: 3.055 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.5938, allocations: 25.7 kB / 1.499 GB, free: 3.023 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.594, allocations: 322.8 kB / 1.499 GB, free: 2.699 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5942, allocations: 51.94 kB / 1.499 GB, free: 2.648 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.5944, allocations: 133.9 kB / 1.499 GB, free: 2.496 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.5948, allocations: 116.8 kB / 1.499 GB, free: 2.379 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5948, allocations: 0 / 1.499 GB, free: 2.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004875/0.5953, allocations: 161.6 kB / 1.499 GB, free: 2.215 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5954, allocations: 6.031 kB / 1.499 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5954, allocations: 0 / 1.499 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5954, allocations: 0 / 1.499 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5956, allocations: 27.97 kB / 1.499 GB, free: 2.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5956, allocations: 3.938 kB / 1.499 GB, free: 2.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.5957, allocations: 31.92 kB / 1.499 GB, free: 2.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5957, allocations: 0 / 1.499 GB, free: 2.148 MB / 1.186 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.0001184/0.5959, allocations: 125.7 kB / 1.499 GB, free: 2.016 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5959, allocations: 11.89 kB / 1.499 GB, free: 2.004 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.596, allocations: 16.7 kB / 1.499 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.596, allocations: 4 kB / 1.499 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.596, allocations: 3.938 kB / 1.499 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.596, allocations: 4 kB / 1.499 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.5968, allocations: 397.8 kB / 1.5 GB, free: 1.547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5968, allocations: 0 / 1.5 GB, free: 1.547 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.597, allocations: 27.97 kB / 1.5 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.597, allocations: 4 kB / 1.5 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.597, allocations: 4 kB / 1.5 GB, free: 1.512 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.597, allocations: 7.984 kB / 1.5 GB, free: 1.504 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.597, allocations: 0 / 1.5 GB, free: 1.504 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.5975, allocations: 251.3 kB / 1.5 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.5975, allocations: 15.94 kB / 1.5 GB, free: 1.227 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.5976, allocations: 0 / 1.5 GB, free: 1.227 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.5977, allocations: 15.98 kB / 1.5 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.5978, allocations: 7.984 kB / 1.5 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5978, allocations: 3.938 kB / 1.5 GB, free: 1.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.5979, allocations: 113.6 kB / 1.5 GB, free: 1.09 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5979, allocations: 0 / 1.5 GB, free: 1.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002748/0.5981, allocations: 31.94 kB / 1.5 GB, free: 1.059 MB / 1.186 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.0001815/0.5983, allocations: 111.2 kB / 1.5 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.5988, allocations: 120.6 kB / 1.501 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5988, allocations: 0 / 1.501 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.5991, allocations: 71.88 kB / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5994, allocations: 28.27 kB / 1.501 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.6, allocations: 235.1 kB / 1.501 GB, free: 484 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.6001, allocations: 88.19 kB / 1.501 GB, free: 376 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.6002, allocations: 28.58 kB / 1.501 GB, free: 348 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.6003, allocations: 19.44 kB / 1.501 GB, free: 328 kB / 1.186 GB Notification: Performance of SimCode: time 3.1e-07/0.6003, allocations: 0 / 1.501 GB, free: 328 kB / 1.186 GB Notification: Performance of Templates: time 0.005423/0.6057, allocations: 2.057 MB / 1.503 GB, free: 14.31 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.206566095352173]