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.324/1.324, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 187.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008759/0.0008759, allocations: 91.89 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 13.28 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.494, allocations: 2.188 GB / 3.088 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/5.494, allocations: 87.53 kB / 3.088 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1374/5.631, allocations: 66.01 MB / 3.153 GB, free: 240 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/5.631, allocations: 0 / 3.153 GB, free: 240 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.341e-05/5.632, allocations: 0 / 3.153 GB, free: 240 MB / 0.8855 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.0007419/5.632, allocations: 463.7 kB / 3.153 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/5.632, allocations: 7.812 kB / 3.153 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/5.633, allocations: 69.89 kB / 3.153 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/5.634, allocations: 213.8 kB / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/5.634, allocations: 11.47 kB / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/5.634, allocations: 7.812 kB / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/5.634, allocations: 150.5 kB / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/5.634, allocations: 0 / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/5.634, allocations: 3.5 kB / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/5.634, allocations: 0 / 3.153 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/5.635, allocations: 166.2 kB / 3.154 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/5.635, allocations: 398.6 kB / 3.154 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/5.636, allocations: 266.5 kB / 3.154 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/5.636, allocations: 4.062 kB / 3.154 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/5.636, allocations: 34.55 kB / 3.154 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/5.636, allocations: 0 / 3.154 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0007821/5.637, allocations: 256.2 kB / 3.154 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/5.637, allocations: 55.34 kB / 3.155 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/5.637, allocations: 134.4 kB / 3.155 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/5.637, allocations: 25.7 kB / 3.155 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/5.637, allocations: 103.4 kB / 3.155 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/5.637, allocations: 27.52 kB / 3.155 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/5.637, allocations: 0 / 3.155 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/5.637, allocations: 330.5 kB / 3.155 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/5.638, allocations: 62.44 kB / 3.155 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/5.638, allocations: 88.72 kB / 3.155 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/5.638, allocations: 65.89 kB / 3.155 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/5.638, allocations: 0 / 3.155 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004746/5.638, allocations: 187.9 kB / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/5.639, allocations: 3.906 kB / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/5.639, allocations: 3.906 kB / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/5.639, allocations: 0 / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/5.639, allocations: 38.55 kB / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/5.639, allocations: 0 / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/5.639, allocations: 31.27 kB / 3.156 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/5.639, allocations: 3.844 kB / 3.156 GB, free: 238.1 MB / 0.8855 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 0.0001054/5.639, allocations: 125.6 kB / 3.156 GB, free: 238 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/5.639, allocations: 7.812 kB / 3.156 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/5.639, allocations: 23.75 kB / 3.156 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/5.639, allocations: 0 / 3.156 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/5.639, allocations: 0 / 3.156 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/5.639, allocations: 0 / 3.156 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/5.64, allocations: 487.5 kB / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/5.64, allocations: 7.844 kB / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/5.64, allocations: 34.45 kB / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/5.64, allocations: 0 / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/5.64, allocations: 3.938 kB / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/5.64, allocations: 0 / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/5.64, allocations: 4 kB / 3.156 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/5.641, allocations: 281.7 kB / 3.157 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/5.641, allocations: 84.89 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/5.641, allocations: 3.906 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/5.641, allocations: 27.5 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/5.641, allocations: 11.42 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/5.641, allocations: 3.906 kB / 3.157 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.935e-05/5.641, allocations: 113.7 kB / 3.157 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/5.641, allocations: 0 / 3.157 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004828/5.642, allocations: 77.88 kB / 3.157 GB, free: 237.3 MB / 0.8855 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.001064/5.643, allocations: 0.6245 MB / 3.157 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004979/5.643, allocations: 154.5 kB / 3.158 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.643, allocations: 0 / 3.158 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/5.644, allocations: 72.84 kB / 3.158 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/5.644, allocations: 34.5 kB / 3.158 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/5.645, allocations: 262.1 kB / 3.158 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/5.645, allocations: 0.707 MB / 3.159 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001658/5.645, allocations: 32 kB / 3.159 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/5.645, allocations: 14.75 kB / 3.159 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.6e-07/5.645, allocations: 0 / 3.159 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.0136/5.659, allocations: 9.863 MB / 3.168 GB, free: 232 MB / 0.8855 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