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.269/2.269, allocations: 390.5 MB / 398 MB, free: 10.96 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.0014/0.0014, allocations: 187.2 kB / 491.2 MB, free: 1.621 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.606/1.606, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001066/0.001066, allocations: 99.86 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3419, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.672/5.014, allocations: 1.727 GB / 2.939 GB, free: 143 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/5.014, allocations: 83.95 kB / 2.939 GB, free: 142.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1126/5.127, allocations: 63.71 MB / 3.001 GB, free: 78.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.343e-06/5.127, allocations: 0 / 3.001 GB, free: 78.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.066e-05/5.127, allocations: 0 / 3.001 GB, free: 78.05 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.0005544/5.127, allocations: 439 kB / 3.002 GB, free: 77.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/5.127, allocations: 8.031 kB / 3.002 GB, free: 77.57 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007678/5.128, allocations: 79.72 kB / 3.002 GB, free: 77.49 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/5.128, allocations: 211.8 kB / 3.002 GB, free: 77.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/5.128, allocations: 0 / 3.002 GB, free: 77.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/5.128, allocations: 7.953 kB / 3.002 GB, free: 77.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001852/5.129, allocations: 67.98 kB / 3.002 GB, free: 77.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/5.129, allocations: 102.8 kB / 3.002 GB, free: 77.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/5.129, allocations: 0 / 3.002 GB, free: 77.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/5.129, allocations: 0 / 3.002 GB, free: 77.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/5.129, allocations: 4 kB / 3.002 GB, free: 77.06 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/5.13, allocations: 373.6 kB / 3.003 GB, free: 76.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/5.13, allocations: 204 kB / 3.003 GB, free: 76.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/5.13, allocations: 44.84 kB / 3.003 GB, free: 76.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/5.13, allocations: 4 kB / 3.003 GB, free: 76.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/5.13, allocations: 30.56 kB / 3.003 GB, free: 76.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/5.13, allocations: 0 / 3.003 GB, free: 76.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002867/5.13, allocations: 97.62 kB / 3.003 GB, free: 76.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/5.131, allocations: 59.41 kB / 3.003 GB, free: 76.17 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/5.131, allocations: 118.3 kB / 3.003 GB, free: 76.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/5.131, allocations: 29.64 kB / 3.003 GB, free: 76.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/5.131, allocations: 104.2 kB / 3.003 GB, free: 75.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/5.131, allocations: 27.56 kB / 3.003 GB, free: 75.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/5.131, allocations: 0 / 3.003 GB, free: 75.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001185/5.131, allocations: 322.8 kB / 3.004 GB, free: 75.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/5.131, allocations: 23.98 kB / 3.004 GB, free: 75.53 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/5.131, allocations: 54.52 kB / 3.004 GB, free: 75.47 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/5.131, allocations: 31.97 kB / 3.004 GB, free: 75.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/5.131, allocations: 0 / 3.004 GB, free: 75.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001522/5.131, allocations: 97.58 kB / 3.004 GB, free: 75.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/5.131, allocations: 4 kB / 3.004 GB, free: 75.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/5.131, allocations: 4 kB / 3.004 GB, free: 75.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/5.131, allocations: 0 / 3.004 GB, free: 75.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/5.132, allocations: 36 kB / 3.004 GB, free: 75.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/5.132, allocations: 3.953 kB / 3.004 GB, free: 75.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/5.132, allocations: 23.97 kB / 3.004 GB, free: 75.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/5.132, allocations: 0 / 3.004 GB, free: 75.27 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 9.685e-05/5.132, allocations: 108.9 kB / 3.004 GB, free: 75.15 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/5.132, allocations: 15.84 kB / 3.004 GB, free: 75.14 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/5.132, allocations: 16.61 kB / 3.004 GB, free: 75.12 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/5.132, allocations: 4 kB / 3.004 GB, free: 75.12 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/5.132, allocations: 0 / 3.004 GB, free: 75.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/5.132, allocations: 3.953 kB / 3.004 GB, free: 75.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/5.132, allocations: 371.2 kB / 3.004 GB, free: 74.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/5.132, allocations: 4 kB / 3.004 GB, free: 74.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/5.133, allocations: 35.91 kB / 3.004 GB, free: 74.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/5.133, allocations: 4 kB / 3.004 GB, free: 74.67 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/5.133, allocations: 0 / 3.004 GB, free: 74.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/5.133, allocations: 0 / 3.004 GB, free: 74.67 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/5.133, allocations: 3.953 kB / 3.004 GB, free: 74.66 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/5.133, allocations: 203.5 kB / 3.005 GB, free: 74.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/5.133, allocations: 88.95 kB / 3.005 GB, free: 74.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/5.133, allocations: 0 / 3.005 GB, free: 74.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/5.133, allocations: 19.97 kB / 3.005 GB, free: 74.32 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/5.133, allocations: 15.94 kB / 3.005 GB, free: 74.31 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/5.133, allocations: 7.938 kB / 3.005 GB, free: 74.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.146e-05/5.133, allocations: 101.7 kB / 3.005 GB, free: 74.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.133, allocations: 4 kB / 3.005 GB, free: 74.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004555/5.134, allocations: 63.89 kB / 3.005 GB, free: 74.14 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.001075/5.135, allocations: 0.7285 MB / 3.006 GB, free: 73.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001686/5.135, allocations: 67.97 kB / 3.006 GB, free: 73.34 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.135, allocations: 0 / 3.006 GB, free: 73.34 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/5.135, allocations: 39.92 kB / 3.006 GB, free: 73.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/5.135, allocations: 27.92 kB / 3.006 GB, free: 73.27 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/5.136, allocations: 144.6 kB / 3.006 GB, free: 73.11 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/5.136, allocations: 0.708 MB / 3.007 GB, free: 72.37 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001522/5.136, allocations: 24.64 kB / 3.007 GB, free: 72.35 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/5.136, allocations: 19.42 kB / 3.007 GB, free: 72.33 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/5.136, allocations: 0 / 3.007 GB, free: 72.33 MB / 1.151 GB Notification: Performance of Templates: time 0.009094/5.146, allocations: 5.226 MB / 3.012 GB, free: 67.12 MB / 1.151 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