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.171/2.171, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001091/0.001091, allocations: 188.3 kB / 487.4 MB, free: 5.055 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.464/1.464, allocations: 221.5 MB / 0.7824 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.000981, allocations: 95.91 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.612e-05, allocations: 7.984 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.829/4.09, allocations: 1.726 GB / 2.932 GB, free: 159.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/4.091, allocations: 83.95 kB / 2.932 GB, free: 159.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1121/4.203, allocations: 63.7 MB / 2.994 GB, free: 94.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.222e-06/4.203, allocations: 0 / 2.994 GB, free: 94.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.429e-05/4.203, allocations: 4 kB / 2.994 GB, free: 94.28 MB / 1.151 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.0005648/4.204, allocations: 432.2 kB / 2.995 GB, free: 93.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/4.204, allocations: 8.031 kB / 2.995 GB, free: 93.81 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/4.204, allocations: 79.7 kB / 2.995 GB, free: 93.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/4.205, allocations: 219 kB / 2.995 GB, free: 93.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/4.205, allocations: 11.94 kB / 2.995 GB, free: 93.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/4.205, allocations: 4 kB / 2.995 GB, free: 93.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001526/4.205, allocations: 67.94 kB / 2.995 GB, free: 93.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/4.205, allocations: 97.55 kB / 2.995 GB, free: 93.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/4.205, allocations: 0 / 2.995 GB, free: 93.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/4.205, allocations: 0 / 2.995 GB, free: 93.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/4.205, allocations: 4 kB / 2.995 GB, free: 93.29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/4.206, allocations: 385.4 kB / 2.995 GB, free: 92.88 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/4.206, allocations: 196 kB / 2.996 GB, free: 92.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/4.206, allocations: 52.84 kB / 2.996 GB, free: 92.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/4.206, allocations: 0 / 2.996 GB, free: 92.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/4.206, allocations: 30.56 kB / 2.996 GB, free: 92.56 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/4.206, allocations: 0 / 2.996 GB, free: 92.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.00022/4.206, allocations: 93.58 kB / 2.996 GB, free: 92.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/4.206, allocations: 51.41 kB / 2.996 GB, free: 92.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/4.206, allocations: 118.5 kB / 2.996 GB, free: 92.28 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/4.206, allocations: 29.7 kB / 2.996 GB, free: 92.24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/4.206, allocations: 112.1 kB / 2.996 GB, free: 92.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/4.207, allocations: 23.66 kB / 2.996 GB, free: 92.11 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/4.207, allocations: 0 / 2.996 GB, free: 92.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/4.207, allocations: 318.8 kB / 2.996 GB, free: 91.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/4.207, allocations: 31.92 kB / 2.996 GB, free: 91.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/4.207, allocations: 46.58 kB / 2.997 GB, free: 91.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/4.207, allocations: 27.97 kB / 2.997 GB, free: 91.67 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/4.207, allocations: 4.031 kB / 2.997 GB, free: 91.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001403/4.207, allocations: 105.7 kB / 2.997 GB, free: 91.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/4.207, allocations: 4 kB / 2.997 GB, free: 91.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/4.207, allocations: 4 kB / 2.997 GB, free: 91.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/4.207, allocations: 0 / 2.997 GB, free: 91.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/4.207, allocations: 31.97 kB / 2.997 GB, free: 91.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/4.207, allocations: 0 / 2.997 GB, free: 91.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/4.207, allocations: 35.86 kB / 2.997 GB, free: 91.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/4.207, allocations: 4.312 kB / 2.997 GB, free: 91.48 MB / 1.151 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 5.216e-05/4.207, allocations: 102 kB / 2.997 GB, free: 91.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/4.207, allocations: 11.81 kB / 2.997 GB, free: 91.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/4.208, allocations: 20.61 kB / 2.997 GB, free: 91.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/4.208, allocations: 4 kB / 2.997 GB, free: 91.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/4.208, allocations: 0 / 2.997 GB, free: 91.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/4.208, allocations: 0 / 2.997 GB, free: 91.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/4.208, allocations: 379 kB / 2.997 GB, free: 90.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/4.208, allocations: 0 / 2.997 GB, free: 90.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/4.208, allocations: 35.91 kB / 2.997 GB, free: 90.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/4.208, allocations: 4 kB / 2.997 GB, free: 90.89 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/4.208, allocations: 0 / 2.997 GB, free: 90.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/4.208, allocations: 0 / 2.997 GB, free: 90.89 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/4.208, allocations: 0 / 2.997 GB, free: 90.89 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/4.208, allocations: 199.4 kB / 2.997 GB, free: 90.68 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/4.208, allocations: 84.95 kB / 2.998 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/4.208, allocations: 0 / 2.998 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/4.209, allocations: 27.97 kB / 2.998 GB, free: 90.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/4.209, allocations: 11.98 kB / 2.998 GB, free: 90.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/4.209, allocations: 0 / 2.998 GB, free: 90.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.847e-05/4.209, allocations: 104.2 kB / 2.998 GB, free: 90.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.41e-07/4.209, allocations: 0 / 2.998 GB, free: 90.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003241/4.209, allocations: 67.89 kB / 2.998 GB, free: 90.37 MB / 1.151 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.0007527/4.21, allocations: 0.7307 MB / 2.998 GB, free: 89.63 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000176/4.21, allocations: 59.98 kB / 2.999 GB, free: 89.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/4.21, allocations: 4 kB / 2.999 GB, free: 89.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/4.21, allocations: 43.92 kB / 2.999 GB, free: 89.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/4.21, allocations: 23.92 kB / 2.999 GB, free: 89.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/4.211, allocations: 140.2 kB / 2.999 GB, free: 89.34 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/4.211, allocations: 0.708 MB / 2.999 GB, free: 88.61 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001483/4.211, allocations: 24.59 kB / 2.999 GB, free: 88.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/4.211, allocations: 19.42 kB / 2.999 GB, free: 88.56 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/4.211, allocations: 0 / 2.999 GB, free: 88.56 MB / 1.151 GB Notification: Performance of Templates: time 0.007508/4.219, allocations: 5.224 MB / 3.005 GB, free: 83.35 MB / 1.151 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