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.0008582/0.0008582, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002096, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007577/0.0007577, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009669/0.001725, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9615/0.9615, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09391/1.055, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.84/1.84, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5355/2.375, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|masFra2.X.[0-9,]+.|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.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.316e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002812/0.002835, allocations: 1.735 MB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.1548, allocations: 147.3 MB / 0.8748 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.926e-05/0.1549, allocations: 0 / 0.8748 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.155, allocations: 27.72 kB / 0.8749 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1552, allocations: 47.64 kB / 0.8749 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1555, allocations: 147.3 kB / 0.8751 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1557, allocations: 119.5 kB / 0.8752 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.1558, allocations: 22.23 kB / 0.8752 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008574/0.1567, allocations: 267.9 kB / 0.8754 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.1567, allocations: 31.91 kB / 0.8755 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1567, allocations: 12 kB / 0.8755 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.157, allocations: 183.6 kB / 0.8757 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.1571, allocations: 15.94 kB / 0.8757 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.1571, allocations: 23.94 kB / 0.8757 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1573, allocations: 159.4 kB / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.1573, allocations: 0 / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1573, allocations: 0 / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1574, allocations: 0 / 0.8758 GB, free: 14.21 MB / 0.8542 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.000383/0.1577, allocations: 371.8 kB / 0.8762 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.1578, allocations: 8.031 kB / 0.8762 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.1582, allocations: 188.8 kB / 0.8764 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1584, allocations: 141.1 kB / 0.8765 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1584, allocations: 8 kB / 0.8765 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1584, allocations: 8 kB / 0.8765 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1586, allocations: 110.3 kB / 0.8766 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1586, allocations: 0 / 0.8766 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1586, allocations: 4 kB / 0.8767 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1586, allocations: 0 / 0.8767 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.722e-05/0.1586, allocations: 38.58 kB / 0.8767 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.159, allocations: 246.8 kB / 0.8769 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1591, allocations: 85.28 kB / 0.877 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.1592, allocations: 24.84 kB / 0.877 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1592, allocations: 8 kB / 0.877 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1592, allocations: 38.5 kB / 0.8771 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1592, allocations: 0 / 0.8771 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.000135/0.1594, allocations: 73.61 kB / 0.8771 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1594, allocations: 55.39 kB / 0.8772 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.1594, allocations: 140.4 kB / 0.8773 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1595, allocations: 25.7 kB / 0.8774 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.1595, allocations: 104.1 kB / 0.8775 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1595, allocations: 27.75 kB / 0.8775 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1596, allocations: 29.69 kB / 0.8775 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.1596, allocations: 322.8 kB / 0.8778 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.1596, allocations: 11.94 kB / 0.8778 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.1597, allocations: 8.312 kB / 0.8778 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.1597, allocations: 39.8 kB / 0.8779 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1597, allocations: 0 / 0.8779 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.802e-05/0.1598, allocations: 69.59 kB / 0.8779 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1598, allocations: 9.812 kB / 0.8779 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1598, allocations: 0 / 0.8779 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.1598, allocations: 4 kB / 0.878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.1599, allocations: 27.97 kB / 0.878 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.1599, allocations: 0 / 0.878 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.16, allocations: 7.984 kB / 0.878 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.16, allocations: 8 kB / 0.878 GB, free: 11.84 MB / 0.8542 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 5.343e-05/0.16, allocations: 108.7 kB / 0.8781 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.16, allocations: 11.92 kB / 0.8781 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.1601, allocations: 20.78 kB / 0.8781 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1601, allocations: 0 / 0.8781 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1601, allocations: 0 / 0.8781 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1601, allocations: 4 kB / 0.8781 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1603, allocations: 246.6 kB / 0.8784 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1603, allocations: 0 / 0.8784 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.1604, allocations: 27.92 kB / 0.8784 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.1604, allocations: 7.938 kB / 0.8784 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1604, allocations: 4 kB / 0.8784 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1604, allocations: 12 kB / 0.8784 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1604, allocations: 0 / 0.8784 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1604, allocations: 0 / 0.8784 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1605, allocations: 163.4 kB / 0.8786 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1605, allocations: 7.984 kB / 0.8786 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.1606, allocations: 8 kB / 0.8786 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.1606, allocations: 7.984 kB / 0.8786 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1606, allocations: 0 / 0.8786 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.1606, allocations: 35.56 kB / 0.8786 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1606, allocations: 4 kB / 0.8786 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001407/0.1608, allocations: 35.89 kB / 0.8787 GB, free: 11.09 MB / 0.8542 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.0001174/0.1609, allocations: 92.34 kB / 0.8788 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.161, allocations: 48.7 kB / 0.8788 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.161, allocations: 4 kB / 0.8788 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.161, allocations: 24.83 kB / 0.8788 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1612, allocations: 44.5 kB / 0.8789 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1623, allocations: 242.9 kB / 0.8791 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.1623, allocations: 67.34 kB / 0.8792 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.834e-05/0.1624, allocations: 16.66 kB / 0.8792 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1625, allocations: 75.3 kB / 0.8793 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.1625, allocations: 0 / 0.8793 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.003489/0.166, allocations: 2.107 MB / 0.8813 GB, free: 8.367 MB / 0.8542 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.025365229696035]