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.001323/0.001323, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001439/0.001439, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.833/2.833, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.544e-05, allocations: 6.219 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002754/0.002779, allocations: 1.638 MB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.1711, allocations: 133.2 MB / 1.113 GB, free: 4.637 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1712, allocations: 0 / 1.113 GB, free: 4.637 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1713, allocations: 23.8 kB / 1.113 GB, free: 4.613 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.1716, allocations: 47.64 kB / 1.113 GB, free: 4.566 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1721, allocations: 159.2 kB / 1.113 GB, free: 4.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1723, allocations: 115.6 kB / 1.113 GB, free: 4.297 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1724, allocations: 33.55 kB / 1.113 GB, free: 4.262 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1739, allocations: 205.8 kB / 1.114 GB, free: 4.086 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.174, allocations: 27.91 kB / 1.114 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.174, allocations: 12 kB / 1.114 GB, free: 4.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.1744, allocations: 171.6 kB / 1.114 GB, free: 3.879 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.1744, allocations: 23.92 kB / 1.114 GB, free: 3.855 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1745, allocations: 31.91 kB / 1.114 GB, free: 3.824 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1749, allocations: 211.3 kB / 1.114 GB, free: 3.617 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1749, allocations: 0 / 1.114 GB, free: 3.617 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1749, allocations: 0 / 1.114 GB, free: 3.617 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.1749, allocations: 0 / 1.114 GB, free: 3.617 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000725/0.1756, allocations: 373.5 kB / 1.114 GB, free: 3.223 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1756, allocations: 16.03 kB / 1.114 GB, free: 3.207 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1767, allocations: 79.98 kB / 1.115 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1769, allocations: 153 kB / 1.115 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1769, allocations: 11.94 kB / 1.115 GB, free: 2.941 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.177, allocations: 8 kB / 1.115 GB, free: 2.934 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.1774, allocations: 129.6 kB / 1.115 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1774, allocations: 0 / 1.115 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1775, allocations: 4 kB / 1.115 GB, free: 2.797 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1775, allocations: 4 kB / 1.115 GB, free: 2.793 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.1781, allocations: 139.8 kB / 1.115 GB, free: 2.656 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.1788, allocations: 336.2 kB / 1.115 GB, free: 2.297 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.1796, allocations: 162.6 kB / 1.115 GB, free: 2.129 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.1799, allocations: 84.7 kB / 1.116 GB, free: 2.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1799, allocations: 4 kB / 1.116 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1799, allocations: 38.44 kB / 1.116 GB, free: 1.992 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1799, allocations: 0 / 1.116 GB, free: 1.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008813/0.1808, allocations: 213.5 kB / 1.116 GB, free: 1.777 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1809, allocations: 55.34 kB / 1.116 GB, free: 1.711 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.181, allocations: 136.7 kB / 1.116 GB, free: 1.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.181, allocations: 29.7 kB / 1.116 GB, free: 1.535 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.1811, allocations: 112.2 kB / 1.116 GB, free: 1.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1811, allocations: 27.75 kB / 1.116 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.1812, allocations: 21.7 kB / 1.116 GB, free: 1.367 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1813, allocations: 322.8 kB / 1.116 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1816, allocations: 47.95 kB / 1.116 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1819, allocations: 133.9 kB / 1.117 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.1823, allocations: 124.7 kB / 1.117 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1823, allocations: 0 / 1.117 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005404/0.1829, allocations: 161.5 kB / 1.117 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1829, allocations: 8 kB / 1.117 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1829, allocations: 0 / 1.117 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1829, allocations: 0 / 1.117 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1831, allocations: 31.91 kB / 1.117 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1831, allocations: 0 / 1.117 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1833, allocations: 23.94 kB / 1.117 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1833, allocations: 7.984 kB / 1.117 GB, free: 496 kB / 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 (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.000103/0.1834, allocations: 113.8 kB / 1.117 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1835, allocations: 11.89 kB / 1.117 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.1835, allocations: 16.78 kB / 1.117 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1835, allocations: 0 / 1.117 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1835, allocations: 0 / 1.117 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1835, allocations: 7.984 kB / 1.117 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.1844, allocations: 390.5 kB / 1.117 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1844, allocations: 3.984 kB / 1.117 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1846, allocations: 31.97 kB / 1.118 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1846, allocations: 4 kB / 1.118 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1846, allocations: 4 kB / 1.118 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1846, allocations: 0 / 1.118 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1846, allocations: 0 / 1.118 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.1853, allocations: 263.3 kB / 1.118 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.1853, allocations: 15.89 kB / 1.118 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1853, allocations: 0 / 1.118 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.1855, allocations: 23.97 kB / 1.118 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1855, allocations: 11.92 kB / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1856, allocations: 4 kB / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.43e-05/0.1856, allocations: 99.27 kB / 1.118 GB, free: 15.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.1856, allocations: 3.938 kB / 1.118 GB, free: 15.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002877/0.1859, allocations: 31.94 kB / 1.118 GB, free: 15.41 MB / 1.076 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.0002095/0.1861, allocations: 115.2 kB / 1.118 GB, free: 15.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.1867, allocations: 123.9 kB / 1.118 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1867, allocations: 0 / 1.118 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.1869, allocations: 71.88 kB / 1.118 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1873, allocations: 23.92 kB / 1.118 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.1879, allocations: 225.2 kB / 1.118 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.188, allocations: 84.31 kB / 1.119 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.1881, allocations: 32.62 kB / 1.119 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.1882, allocations: 16.5 kB / 1.119 GB, free: 14.67 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.1882, allocations: 0 / 1.119 GB, free: 14.67 MB / 1.076 GB Notification: Performance of Templates: time 0.005615/0.1938, allocations: 1.955 MB / 1.121 GB, free: 12.77 MB / 1.076 GB " [Timeout remaining time 300] 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: 8.67378981411457]