Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 181 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 0.7949 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008599/0.0008598, allocations: 106.2 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 9.25 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3159, allocations: 142.4 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.73, allocations: 1.727 GB / 2.95 GB, free: 221.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/4.731, allocations: 87.58 kB / 2.95 GB, free: 221.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1136/4.844, allocations: 64.76 MB / 3.013 GB, free: 167.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.122e-06/4.845, allocations: 0 / 3.013 GB, free: 167.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.311e-05/4.845, allocations: 11.81 kB / 3.013 GB, free: 167.4 MB / 1.167 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.0006011/4.845, allocations: 454.9 kB / 3.013 GB, free: 167 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/4.845, allocations: 8.031 kB / 3.013 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/4.846, allocations: 79.81 kB / 3.013 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/4.846, allocations: 209.4 kB / 3.014 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/4.846, allocations: 7.938 kB / 3.014 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/4.846, allocations: 11.58 kB / 3.014 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/4.847, allocations: 147.5 kB / 3.014 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/4.847, allocations: 0 / 3.014 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/4.847, allocations: 3.875 kB / 3.014 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/4.847, allocations: 4 kB / 3.014 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/4.847, allocations: 157.5 kB / 3.014 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/4.848, allocations: 409.8 kB / 3.014 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/4.848, allocations: 261.7 kB / 3.015 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/4.849, allocations: 0 / 3.015 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/4.849, allocations: 37.94 kB / 3.015 GB, free: 165.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/4.849, allocations: 4 kB / 3.015 GB, free: 165.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.00071/4.849, allocations: 250.3 kB / 3.015 GB, free: 165.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/4.849, allocations: 55.36 kB / 3.015 GB, free: 165.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/4.849, allocations: 135 kB / 3.015 GB, free: 165.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/4.849, allocations: 25.7 kB / 3.015 GB, free: 165.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/4.849, allocations: 107.1 kB / 3.015 GB, free: 165.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/4.85, allocations: 23.39 kB / 3.015 GB, free: 165.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/4.85, allocations: 4 kB / 3.015 GB, free: 165.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/4.85, allocations: 318.6 kB / 3.015 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/4.85, allocations: 71.12 kB / 3.016 GB, free: 164.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/4.85, allocations: 93.27 kB / 3.016 GB, free: 164.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/4.85, allocations: 66.39 kB / 3.016 GB, free: 164.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/4.85, allocations: 3.938 kB / 3.016 GB, free: 164.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004134/4.851, allocations: 188.6 kB / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/4.851, allocations: 4 kB / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/4.851, allocations: 80 / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/4.851, allocations: 0 / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/4.851, allocations: 31.97 kB / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/4.851, allocations: 7.922 kB / 3.016 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/4.851, allocations: 35.86 kB / 3.016 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/4.851, allocations: 4 kB / 3.016 GB, free: 164.3 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/4.851, allocations: 117.3 kB / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/4.851, allocations: 11.81 kB / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/4.851, allocations: 20.27 kB / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/4.851, allocations: 4 kB / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/4.851, allocations: 0 / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/4.851, allocations: 0 / 3.016 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/4.852, allocations: 482.9 kB / 3.017 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/4.852, allocations: 3.938 kB / 3.017 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/4.852, allocations: 35.97 kB / 3.017 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/4.852, allocations: 3.938 kB / 3.017 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/4.852, allocations: 0 / 3.017 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/4.852, allocations: 11.94 kB / 3.017 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/4.852, allocations: 0 / 3.017 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/4.853, allocations: 275.2 kB / 3.017 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/4.853, allocations: 92.91 kB / 3.017 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/4.853, allocations: 0 / 3.017 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/4.853, allocations: 23.48 kB / 3.017 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/4.853, allocations: 15.94 kB / 3.017 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/4.853, allocations: 0 / 3.017 GB, free: 163.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.341e-05/4.853, allocations: 123.8 kB / 3.017 GB, free: 163.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/4.853, allocations: 4 kB / 3.017 GB, free: 163.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004188/4.853, allocations: 77.61 kB / 3.017 GB, free: 163.1 MB / 1.167 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 (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.0007735/4.854, allocations: 0.6144 MB / 3.018 GB, free: 162.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004686/4.855, allocations: 150.7 kB / 3.018 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/4.855, allocations: 0 / 3.018 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/4.855, allocations: 82.91 kB / 3.018 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/4.855, allocations: 25.17 kB / 3.018 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/4.856, allocations: 266.8 kB / 3.018 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/4.856, allocations: 0.7043 MB / 3.019 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001442/4.856, allocations: 32.33 kB / 3.019 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/4.856, allocations: 11.44 kB / 3.019 GB, free: 161.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.9e-07/4.856, allocations: 3.938 kB / 3.019 GB, free: 161.2 MB / 1.167 GB Notification: Performance of Templates: time 0.01192/4.868, allocations: 9.867 MB / 3.029 GB, free: 151.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches