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.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.00194/0.00194, allocations: 111 kB / 16.45 MB, free: 6.488 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.002357/0.002357, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002105/0.002105, allocations: 75.11 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003109/0.3761, allocations: 1.664 MB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1976/0.5738, allocations: 154.9 MB / 1.474 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.5739, allocations: 0 / 1.474 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.5741, allocations: 11.81 kB / 1.474 GB, free: 5.734 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.5745, allocations: 47.69 kB / 1.474 GB, free: 5.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.5751, allocations: 147.4 kB / 1.474 GB, free: 5.543 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.5753, allocations: 123.6 kB / 1.474 GB, free: 5.422 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.5754, allocations: 21.39 kB / 1.474 GB, free: 5.395 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.5769, allocations: 174.3 kB / 1.475 GB, free: 5.246 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.577, allocations: 43.84 kB / 1.475 GB, free: 5.203 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.577, allocations: 4 kB / 1.475 GB, free: 5.199 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.5774, allocations: 191.7 kB / 1.475 GB, free: 5.012 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.5775, allocations: 27.86 kB / 1.475 GB, free: 4.984 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.5775, allocations: 39.8 kB / 1.475 GB, free: 4.945 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.5779, allocations: 203.2 kB / 1.475 GB, free: 4.746 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5779, allocations: 0 / 1.475 GB, free: 4.746 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5779, allocations: 0 / 1.475 GB, free: 4.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5779, allocations: 3.938 kB / 1.475 GB, free: 4.742 MB / 1.17 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.0007347/0.5787, allocations: 446.6 kB / 1.475 GB, free: 4.258 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5787, allocations: 15.98 kB / 1.476 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5798, allocations: 91.98 kB / 1.476 GB, free: 4.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.58, allocations: 216.5 kB / 1.476 GB, free: 3.902 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5801, allocations: 4 kB / 1.476 GB, free: 3.898 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5801, allocations: 12 kB / 1.476 GB, free: 3.887 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.5806, allocations: 133.5 kB / 1.476 GB, free: 3.75 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5806, allocations: 0 / 1.476 GB, free: 3.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5806, allocations: 4 kB / 1.476 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5806, allocations: 7.938 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.5812, allocations: 138.4 kB / 1.476 GB, free: 3.605 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.582, allocations: 416.4 kB / 1.476 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.5828, allocations: 247.7 kB / 1.477 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.5831, allocations: 76.73 kB / 1.477 GB, free: 2.801 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.5831, allocations: 0 / 1.477 GB, free: 2.801 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.5831, allocations: 42.5 kB / 1.477 GB, free: 2.75 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.5831, allocations: 0 / 1.477 GB, free: 2.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008766/0.584, allocations: 209.5 kB / 1.477 GB, free: 2.539 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.5841, allocations: 51.41 kB / 1.477 GB, free: 2.477 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.5842, allocations: 149.5 kB / 1.477 GB, free: 2.324 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.5842, allocations: 29.7 kB / 1.477 GB, free: 2.289 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.5843, allocations: 104.1 kB / 1.477 GB, free: 2.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.5843, allocations: 27.88 kB / 1.477 GB, free: 2.156 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.5844, allocations: 25.7 kB / 1.477 GB, free: 2.125 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5846, allocations: 326.8 kB / 1.478 GB, free: 1.797 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.5848, allocations: 55.89 kB / 1.478 GB, free: 1.742 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.585, allocations: 78.81 kB / 1.478 GB, free: 1.656 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.5855, allocations: 124.9 kB / 1.478 GB, free: 1.531 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5855, allocations: 0 / 1.478 GB, free: 1.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005294/0.586, allocations: 157.5 kB / 1.478 GB, free: 1.371 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.586, allocations: 4 kB / 1.478 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.586, allocations: 4 kB / 1.478 GB, free: 1.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5861, allocations: 0 / 1.478 GB, free: 1.363 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.5863, allocations: 31.89 kB / 1.478 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5863, allocations: 4 kB / 1.478 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5864, allocations: 15.98 kB / 1.478 GB, free: 1.312 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5864, allocations: 8 kB / 1.478 GB, free: 1.305 MB / 1.17 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.0001159/0.5866, allocations: 124.6 kB / 1.478 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5866, allocations: 11.91 kB / 1.478 GB, free: 1.164 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.5867, allocations: 20.66 kB / 1.478 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5867, allocations: 0 / 1.478 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5867, allocations: 0 / 1.478 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5867, allocations: 0 / 1.478 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009081/0.5876, allocations: 470.1 kB / 1.479 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5876, allocations: 0 / 1.479 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.5878, allocations: 27.97 kB / 1.479 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.5878, allocations: 4 kB / 1.479 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5878, allocations: 11.98 kB / 1.479 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.5878, allocations: 7.938 kB / 1.479 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5878, allocations: 0 / 1.479 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.5884, allocations: 263.2 kB / 1.479 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.5884, allocations: 81.06 kB / 1.479 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.5885, allocations: 8 kB / 1.479 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5886, allocations: 15.92 kB / 1.479 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5887, allocations: 7.984 kB / 1.479 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5887, allocations: 4 kB / 1.479 GB, free: 172 kB / 1.17 GB Notification: Performance of sorting global known variables: time 9.54e-05/0.5888, allocations: 113.1 kB / 1.479 GB, free: 60 kB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5888, allocations: 4 kB / 1.479 GB, free: 56 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002818/0.5891, allocations: 31.94 kB / 1.479 GB, free: 24 kB / 1.17 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.0002235/0.5893, allocations: 119.1 kB / 1.479 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.5899, allocations: 123.9 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5899, allocations: 3.938 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5901, allocations: 63.94 kB / 1.48 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.5905, allocations: 24.53 kB / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.5911, allocations: 234.9 kB / 1.48 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5915, allocations: 0.7077 MB / 1.481 GB, free: 14.7 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.5916, allocations: 28.41 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.5917, allocations: 15.44 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.5917, allocations: 0 / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of Templates: time 0.005448/0.5972, allocations: 1.963 MB / 1.483 GB, free: 12.71 MB / 1.186 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.107734777033329]