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.001119/0.001119, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.002919, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001125/0.001125, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002658, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9354/0.9354, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2556/2.624, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|masFra2.X.[0-9,]+.|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.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.784e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003169/0.003197, allocations: 1.734 MB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.1679, allocations: 147.3 MB / 0.9644 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.168, allocations: 4 kB / 0.9645 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1681, allocations: 23.75 kB / 0.9645 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1682, allocations: 47.64 kB / 0.9645 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1686, allocations: 143.2 kB / 0.9647 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1687, allocations: 123.5 kB / 0.9648 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.1688, allocations: 22.23 kB / 0.9648 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.1697, allocations: 270.9 kB / 0.9651 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.1698, allocations: 27.91 kB / 0.9651 GB, free: 12.31 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1698, allocations: 8 kB / 0.9651 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.1701, allocations: 183.6 kB / 0.9653 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.1701, allocations: 15.94 kB / 0.9653 GB, free: 12.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.1702, allocations: 23.94 kB / 0.9653 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1704, allocations: 167.4 kB / 0.9655 GB, free: 11.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.1705, allocations: 0 / 0.9655 GB, free: 11.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1705, allocations: 0 / 0.9655 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.1705, allocations: 4 kB / 0.9655 GB, free: 11.92 MB / 0.948 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.003477/0.1739, allocations: 367.8 kB / 0.9658 GB, free: 11.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.174, allocations: 8.031 kB / 0.9658 GB, free: 11.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.1746, allocations: 184.9 kB / 0.966 GB, free: 11.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1748, allocations: 149 kB / 0.9661 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1748, allocations: 4 kB / 0.9661 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1748, allocations: 8 kB / 0.9662 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.175, allocations: 117 kB / 0.9663 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.175, allocations: 0 / 0.9663 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.175, allocations: 4 kB / 0.9663 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.175, allocations: 4 kB / 0.9663 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.1751, allocations: 31.97 kB / 0.9663 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1755, allocations: 246.8 kB / 0.9665 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1757, allocations: 89.33 kB / 0.9666 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.1757, allocations: 20.86 kB / 0.9666 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1757, allocations: 0 / 0.9666 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1757, allocations: 38.5 kB / 0.9667 GB, free: 10.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1757, allocations: 0 / 0.9667 GB, free: 10.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0001654/0.1759, allocations: 81.58 kB / 0.9668 GB, free: 10.47 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1759, allocations: 55.41 kB / 0.9668 GB, free: 10.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.176, allocations: 133.2 kB / 0.9669 GB, free: 10.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.176, allocations: 29.7 kB / 0.967 GB, free: 10.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1761, allocations: 104.1 kB / 0.9671 GB, free: 10.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1761, allocations: 23.75 kB / 0.9671 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1761, allocations: 25.69 kB / 0.9671 GB, free: 10.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.1762, allocations: 322.8 kB / 0.9674 GB, free: 9.746 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.1762, allocations: 8 kB / 0.9674 GB, free: 9.738 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.1763, allocations: 12.3 kB / 0.9674 GB, free: 9.727 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.1763, allocations: 35.81 kB / 0.9675 GB, free: 9.688 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1763, allocations: 4 kB / 0.9675 GB, free: 9.684 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.003107/0.1794, allocations: 77.53 kB / 0.9675 GB, free: 9.602 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1794, allocations: 11.94 kB / 0.9676 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1794, allocations: 3.984 kB / 0.9676 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1795, allocations: 0 / 0.9676 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1796, allocations: 19.98 kB / 0.9676 GB, free: 9.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.1796, allocations: 0 / 0.9676 GB, free: 9.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1796, allocations: 11.98 kB / 0.9676 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1796, allocations: 0 / 0.9676 GB, free: 9.555 MB / 0.948 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 6.308e-05/0.1797, allocations: 116.7 kB / 0.9677 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1797, allocations: 15.92 kB / 0.9677 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.1798, allocations: 20.72 kB / 0.9677 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1798, allocations: 0 / 0.9677 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1798, allocations: 0 / 0.9677 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1798, allocations: 3.984 kB / 0.9677 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1801, allocations: 242.7 kB / 0.968 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1801, allocations: 0 / 0.968 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/0.1802, allocations: 31.91 kB / 0.968 GB, free: 9.094 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.1802, allocations: 7.953 kB / 0.968 GB, free: 9.086 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1802, allocations: 3.938 kB / 0.968 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1802, allocations: 4 kB / 0.968 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1802, allocations: 4 kB / 0.968 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1802, allocations: 0 / 0.968 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1803, allocations: 167.4 kB / 0.9682 GB, free: 8.895 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1803, allocations: 0 / 0.9682 GB, free: 8.895 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1804, allocations: 8 kB / 0.9682 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.1804, allocations: 11.98 kB / 0.9682 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.1804, allocations: 3.984 kB / 0.9682 GB, free: 8.871 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.1805, allocations: 30.89 kB / 0.9682 GB, free: 8.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1805, allocations: 0 / 0.9682 GB, free: 8.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002092/0.1807, allocations: 35.89 kB / 0.9683 GB, free: 8.805 MB / 0.948 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.0001437/0.1808, allocations: 96.28 kB / 0.9684 GB, free: 8.703 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1809, allocations: 44.77 kB / 0.9684 GB, free: 8.656 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1809, allocations: 0 / 0.9684 GB, free: 8.656 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.181, allocations: 36.84 kB / 0.9684 GB, free: 8.617 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1813, allocations: 100 kB / 0.9685 GB, free: 8.508 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.1856, allocations: 246.9 kB / 0.9688 GB, free: 8.242 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.1857, allocations: 67.2 kB / 0.9688 GB, free: 8.156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.1857, allocations: 20.67 kB / 0.9689 GB, free: 8.137 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1859, allocations: 75.28 kB / 0.9689 GB, free: 8.062 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.1859, allocations: 3.938 kB / 0.9689 GB, free: 8.059 MB / 0.948 GB Notification: Performance of Templates: time 0.007066/0.1929, allocations: 2.064 MB / 0.9709 GB, free: 6.02 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.357368492521346]