Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 249.3 MB / 261.9 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 186.1 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 91.02 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.836e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.701, allocations: 2.188 GB / 3.08 GB, free: 142 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/6.702, allocations: 84.64 kB / 3.08 GB, free: 142 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1298/6.831, allocations: 65.89 MB / 3.144 GB, free: 79.15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.943e-06/6.831, allocations: 0 / 3.144 GB, free: 79.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.956e-05/6.831, allocations: 0 / 3.144 GB, free: 79.15 MB / 0.8698 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.0006775/6.832, allocations: 434.2 kB / 3.144 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/6.832, allocations: 8.031 kB / 3.144 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/6.833, allocations: 83.72 kB / 3.145 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/6.833, allocations: 215 kB / 3.145 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/6.833, allocations: 8 kB / 3.145 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/6.833, allocations: 8 kB / 3.145 GB, free: 78.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/6.834, allocations: 103 kB / 3.145 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/6.834, allocations: 0 / 3.145 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/6.834, allocations: 4 kB / 3.145 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/6.834, allocations: 4 kB / 3.145 GB, free: 78.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/6.834, allocations: 79.89 kB / 3.145 GB, free: 78.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/6.835, allocations: 404.6 kB / 3.145 GB, free: 77.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/6.835, allocations: 199.8 kB / 3.146 GB, free: 77.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/6.835, allocations: 48.84 kB / 3.146 GB, free: 77.42 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/6.835, allocations: 0 / 3.146 GB, free: 77.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/6.835, allocations: 42.5 kB / 3.146 GB, free: 77.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/6.835, allocations: 0 / 3.146 GB, free: 77.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002825/6.835, allocations: 101.7 kB / 3.146 GB, free: 77.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/6.835, allocations: 55.39 kB / 3.146 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/6.836, allocations: 138.7 kB / 3.146 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/6.836, allocations: 29.7 kB / 3.146 GB, free: 77.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/6.836, allocations: 100.3 kB / 3.146 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/6.836, allocations: 31.55 kB / 3.146 GB, free: 76.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/6.836, allocations: 3.938 kB / 3.146 GB, free: 76.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/6.836, allocations: 322.8 kB / 3.146 GB, free: 76.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/6.836, allocations: 28 kB / 3.146 GB, free: 76.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/6.836, allocations: 46.56 kB / 3.146 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/6.836, allocations: 32.02 kB / 3.146 GB, free: 76.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/6.836, allocations: 0 / 3.146 GB, free: 76.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/6.836, allocations: 109.5 kB / 3.147 GB, free: 76.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.836, allocations: 4 kB / 3.147 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/6.836, allocations: 0 / 3.147 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/6.836, allocations: 0 / 3.147 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/6.836, allocations: 39.84 kB / 3.147 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/6.836, allocations: 0 / 3.147 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/6.837, allocations: 27.89 kB / 3.147 GB, free: 76.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/6.837, allocations: 11.94 kB / 3.147 GB, free: 76.25 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/6.837, allocations: 105 kB / 3.147 GB, free: 76.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/6.837, allocations: 7.906 kB / 3.147 GB, free: 76.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/6.837, allocations: 20.62 kB / 3.147 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/6.837, allocations: 0 / 3.147 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/6.837, allocations: 0 / 3.147 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/6.837, allocations: 3.984 kB / 3.147 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/6.837, allocations: 406.3 kB / 3.147 GB, free: 75.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/6.837, allocations: 0 / 3.147 GB, free: 75.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/6.838, allocations: 35.97 kB / 3.147 GB, free: 75.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/6.838, allocations: 0 / 3.147 GB, free: 75.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/6.838, allocations: 11.98 kB / 3.147 GB, free: 75.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/6.838, allocations: 0 / 3.147 GB, free: 75.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/6.838, allocations: 3.953 kB / 3.147 GB, free: 75.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/6.838, allocations: 195.8 kB / 3.147 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/6.838, allocations: 96.88 kB / 3.147 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/6.838, allocations: 8 kB / 3.147 GB, free: 75.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/6.838, allocations: 19.98 kB / 3.148 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/6.838, allocations: 15.92 kB / 3.148 GB, free: 75.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/6.838, allocations: 3.953 kB / 3.148 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.867e-05/6.838, allocations: 111.3 kB / 3.148 GB, free: 75.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.838, allocations: 0 / 3.148 GB, free: 75.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004363/6.839, allocations: 75.98 kB / 3.148 GB, free: 75.05 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009744/6.84, allocations: 0.6274 MB / 3.148 GB, free: 74.42 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001995/6.84, allocations: 71.97 kB / 3.148 GB, free: 74.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/6.84, allocations: 3.938 kB / 3.148 GB, free: 74.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7e-05/6.84, allocations: 36 kB / 3.148 GB, free: 74.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/6.84, allocations: 26.97 kB / 3.148 GB, free: 74.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/6.841, allocations: 153.6 kB / 3.149 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/6.841, allocations: 0.7082 MB / 3.149 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001524/6.841, allocations: 28.36 kB / 3.149 GB, free: 73.35 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/6.841, allocations: 15.42 kB / 3.149 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/6.841, allocations: 0 / 3.149 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.01644/6.858, allocations: 11.76 MB / 3.161 GB, free: 61.59 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches