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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.552/2.552, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001379/0.001379, allocations: 180 kB / 0.4902 GB, free: 2.258 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.679/1.679, allocations: 223.1 MB / 0.7992 GB, free: 15.56 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.001083/0.001083, allocations: 104.1 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005218, allocations: 10.78 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.328, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.161/4.489, allocations: 1.727 GB / 2.957 GB, free: 239.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/4.49, allocations: 88.84 kB / 2.957 GB, free: 239.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/4.616, allocations: 64.77 MB / 3.02 GB, free: 173.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/4.616, allocations: 4 kB / 3.02 GB, free: 173.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.542e-05/4.616, allocations: 0 / 3.02 GB, free: 173.8 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.0009627/4.617, allocations: 459.6 kB / 3.02 GB, free: 173.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/4.617, allocations: 12.56 kB / 3.02 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/4.618, allocations: 71.81 kB / 3.021 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/4.619, allocations: 203.7 kB / 3.021 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/4.619, allocations: 8 kB / 3.021 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/4.619, allocations: 7.953 kB / 3.021 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/4.619, allocations: 158.3 kB / 3.021 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/4.619, allocations: 4 kB / 3.021 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/4.619, allocations: 0 / 3.021 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/4.619, allocations: 0 / 3.021 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/4.62, allocations: 163.9 kB / 3.021 GB, free: 172.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/4.621, allocations: 416.4 kB / 3.021 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/4.621, allocations: 252 kB / 3.022 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/4.621, allocations: 7.984 kB / 3.022 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/4.621, allocations: 38.5 kB / 3.022 GB, free: 171.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/4.621, allocations: 4 kB / 3.022 GB, free: 171.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0007638/4.622, allocations: 237.6 kB / 3.022 GB, free: 171.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/4.622, allocations: 59.34 kB / 3.022 GB, free: 171.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/4.622, allocations: 143.7 kB / 3.022 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/4.622, allocations: 25.7 kB / 3.022 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/4.622, allocations: 104.2 kB / 3.022 GB, free: 171.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/4.622, allocations: 23.8 kB / 3.022 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/4.622, allocations: 0 / 3.022 GB, free: 171.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/4.623, allocations: 326.8 kB / 3.023 GB, free: 170.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/4.623, allocations: 63.94 kB / 3.023 GB, free: 170.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/4.623, allocations: 98.77 kB / 3.023 GB, free: 170.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/4.623, allocations: 68.09 kB / 3.023 GB, free: 170.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.623, allocations: 0 / 3.023 GB, free: 170.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000449/4.624, allocations: 185.4 kB / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/4.624, allocations: 4 kB / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/4.624, allocations: 4 kB / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/4.624, allocations: 0 / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/4.624, allocations: 31.97 kB / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/4.624, allocations: 3.938 kB / 3.023 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/4.624, allocations: 31.88 kB / 3.023 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/4.624, allocations: 3.984 kB / 3.023 GB, free: 170.4 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.979e-05/4.624, allocations: 125.7 kB / 3.023 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/4.624, allocations: 11.91 kB / 3.023 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/4.624, allocations: 20.7 kB / 3.023 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/4.624, allocations: 4 kB / 3.023 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/4.624, allocations: 0 / 3.023 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/4.624, allocations: 0 / 3.023 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/4.625, allocations: 478.3 kB / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/4.625, allocations: 11.98 kB / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/4.625, allocations: 35.91 kB / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/4.625, allocations: 4 kB / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/4.625, allocations: 0 / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/4.625, allocations: 3.953 kB / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/4.625, allocations: 0 / 3.024 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/4.626, allocations: 283.3 kB / 3.024 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/4.626, allocations: 89 kB / 3.024 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/4.626, allocations: 0 / 3.024 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/4.626, allocations: 23.89 kB / 3.024 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/4.626, allocations: 11.94 kB / 3.024 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/4.626, allocations: 4 kB / 3.024 GB, free: 169.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 6.431e-05/4.626, allocations: 113.5 kB / 3.024 GB, free: 169.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/4.626, allocations: 4 kB / 3.024 GB, free: 169.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004751/4.627, allocations: 75.92 kB / 3.024 GB, free: 169 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.0008902/4.628, allocations: 0.6267 MB / 3.025 GB, free: 168.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005065/4.628, allocations: 147.9 kB / 3.025 GB, free: 168.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.628, allocations: 0 / 3.025 GB, free: 168.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/4.628, allocations: 75.89 kB / 3.025 GB, free: 168.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/4.629, allocations: 31.97 kB / 3.025 GB, free: 168.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/4.629, allocations: 259.8 kB / 3.025 GB, free: 167.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/4.629, allocations: 0.7121 MB / 3.026 GB, free: 167.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002007/4.63, allocations: 28.34 kB / 3.026 GB, free: 167.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/4.63, allocations: 19.42 kB / 3.026 GB, free: 167.1 MB / 1.167 GB Notification: Performance of SimCode: time 4.41e-07/4.63, allocations: 4 kB / 3.026 GB, free: 167.1 MB / 1.167 GB Notification: Performance of Templates: time 0.01361/4.643, allocations: 9.866 MB / 3.036 GB, free: 157.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches