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.288/2.288, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001604/0.001604, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.00093/0.0009302, allocations: 83.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.669e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.284, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.53/4.814, allocations: 1.727 GB / 2.946 GB, free: 108.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/4.814, allocations: 80.55 kB / 2.946 GB, free: 108.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1136/4.928, allocations: 64.68 MB / 3.009 GB, free: 42.82 MB / 1.167 GB Notification: Performance of FrontEnd: time 8.42e-07/4.928, allocations: 0 / 3.009 GB, free: 42.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.15e-05/4.928, allocations: 0 / 3.009 GB, free: 42.82 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.0005733/4.929, allocations: 447 kB / 3.01 GB, free: 42.34 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/4.929, allocations: 8.031 kB / 3.01 GB, free: 42.33 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/4.93, allocations: 71.73 kB / 3.01 GB, free: 42.26 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/4.93, allocations: 207.5 kB / 3.01 GB, free: 42.02 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/4.93, allocations: 8 kB / 3.01 GB, free: 42.01 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/4.93, allocations: 11.95 kB / 3.01 GB, free: 42 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/4.93, allocations: 109.5 kB / 3.01 GB, free: 41.89 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/4.93, allocations: 0 / 3.01 GB, free: 41.89 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/4.93, allocations: 0 / 3.01 GB, free: 41.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/4.93, allocations: 3.938 kB / 3.01 GB, free: 41.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/4.93, allocations: 75.97 kB / 3.01 GB, free: 41.81 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/4.931, allocations: 416.9 kB / 3.011 GB, free: 41.35 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/4.931, allocations: 199.8 kB / 3.011 GB, free: 41.13 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/4.931, allocations: 48.84 kB / 3.011 GB, free: 41.08 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/4.931, allocations: 4 kB / 3.011 GB, free: 41.07 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/4.931, allocations: 34.56 kB / 3.011 GB, free: 41.03 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/4.931, allocations: 0 / 3.011 GB, free: 41.03 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0002389/4.932, allocations: 105.7 kB / 3.011 GB, free: 40.92 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/4.932, allocations: 51.41 kB / 3.011 GB, free: 40.86 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/4.932, allocations: 134.7 kB / 3.011 GB, free: 40.72 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/4.932, allocations: 29.64 kB / 3.011 GB, free: 40.68 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/4.932, allocations: 104.2 kB / 3.011 GB, free: 40.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/4.932, allocations: 35.69 kB / 3.011 GB, free: 40.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/4.932, allocations: 4 kB / 3.011 GB, free: 40.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/4.932, allocations: 322.8 kB / 3.012 GB, free: 40.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/4.932, allocations: 24 kB / 3.012 GB, free: 40.19 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/4.932, allocations: 46.56 kB / 3.012 GB, free: 40.13 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/4.932, allocations: 27.98 kB / 3.012 GB, free: 40.11 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/4.932, allocations: 0 / 3.012 GB, free: 40.11 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001756/4.932, allocations: 105.6 kB / 3.012 GB, free: 40 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/4.932, allocations: 4 kB / 3.012 GB, free: 39.99 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/4.932, allocations: 0 / 3.012 GB, free: 39.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/4.932, allocations: 0 / 3.012 GB, free: 39.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/4.933, allocations: 39.89 kB / 3.012 GB, free: 39.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/4.933, allocations: 3.953 kB / 3.012 GB, free: 39.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/4.933, allocations: 31.89 kB / 3.012 GB, free: 39.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/4.933, allocations: 4 kB / 3.012 GB, free: 39.91 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 () * 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.218e-05/4.933, allocations: 109 kB / 3.012 GB, free: 39.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/4.933, allocations: 7.906 kB / 3.012 GB, free: 39.79 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/4.933, allocations: 16.62 kB / 3.012 GB, free: 39.78 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/4.933, allocations: 3.984 kB / 3.012 GB, free: 39.77 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/4.933, allocations: 4 kB / 3.012 GB, free: 39.77 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/4.933, allocations: 3.953 kB / 3.012 GB, free: 39.77 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/4.933, allocations: 410.3 kB / 3.013 GB, free: 39.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/4.933, allocations: 0 / 3.013 GB, free: 39.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/4.934, allocations: 35.97 kB / 3.013 GB, free: 39.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/4.934, allocations: 4 kB / 3.013 GB, free: 39.27 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/4.934, allocations: 4 kB / 3.013 GB, free: 39.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/4.934, allocations: 7.891 kB / 3.013 GB, free: 39.26 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/4.934, allocations: 3.984 kB / 3.013 GB, free: 39.25 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/4.934, allocations: 211.7 kB / 3.013 GB, free: 39.03 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/4.934, allocations: 81.02 kB / 3.013 GB, free: 38.93 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/4.934, allocations: 4 kB / 3.013 GB, free: 38.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/4.934, allocations: 23.97 kB / 3.013 GB, free: 38.91 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/4.934, allocations: 15.94 kB / 3.013 GB, free: 38.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/4.934, allocations: 3.938 kB / 3.013 GB, free: 38.89 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.363e-05/4.934, allocations: 114.3 kB / 3.013 GB, free: 38.78 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.934, allocations: 0 / 3.013 GB, free: 38.78 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004127/4.935, allocations: 71.98 kB / 3.013 GB, free: 38.71 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 () * 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.0007045/4.935, allocations: 0.6243 MB / 3.014 GB, free: 38.08 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001761/4.936, allocations: 79.91 kB / 3.014 GB, free: 38 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/4.936, allocations: 0 / 3.014 GB, free: 38 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/4.936, allocations: 39.98 kB / 3.014 GB, free: 37.96 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/4.936, allocations: 25 kB / 3.014 GB, free: 37.94 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/4.936, allocations: 154.8 kB / 3.014 GB, free: 37.77 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/4.936, allocations: 0.7004 MB / 3.015 GB, free: 37.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001445/4.937, allocations: 36.33 kB / 3.015 GB, free: 37.01 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/4.937, allocations: 11.44 kB / 3.015 GB, free: 37 MB / 1.167 GB Notification: Performance of SimCode: time 2.4e-07/4.937, allocations: 0 / 3.015 GB, free: 37 MB / 1.167 GB Notification: Performance of Templates: time 0.01368/4.95, allocations: 11.79 MB / 3.026 GB, free: 25.22 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