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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.001/2.001, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001066/0.001066, allocations: 189.2 kB / 490.8 MB, free: 1.91 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.263/1.263, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.0008579/0.0008576, allocations: 89.88 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.712e-06/6.733e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.427/3.688, allocations: 1.727 GB / 2.938 GB, free: 120.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/3.688, allocations: 79.27 kB / 2.938 GB, free: 120.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1122/3.801, allocations: 64.14 MB / 3.001 GB, free: 60.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.267e-05/3.801, allocations: 4 kB / 3.001 GB, free: 60.96 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.0005693/3.801, allocations: 434.2 kB / 3.001 GB, free: 60.49 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/3.801, allocations: 12.03 kB / 3.001 GB, free: 60.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/3.802, allocations: 83.69 kB / 3.001 GB, free: 60.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/3.802, allocations: 209.6 kB / 3.002 GB, free: 60.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/3.803, allocations: 7.906 kB / 3.002 GB, free: 60.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/3.803, allocations: 7.984 kB / 3.002 GB, free: 60.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001687/3.803, allocations: 68.2 kB / 3.002 GB, free: 60.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/3.803, allocations: 101.5 kB / 3.002 GB, free: 59.97 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/3.803, allocations: 3.938 kB / 3.002 GB, free: 59.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/3.803, allocations: 0 / 3.002 GB, free: 59.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/3.803, allocations: 0 / 3.002 GB, free: 59.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/3.804, allocations: 377 kB / 3.002 GB, free: 59.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/3.804, allocations: 196 kB / 3.002 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/3.804, allocations: 48.86 kB / 3.002 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/3.804, allocations: 11.92 kB / 3.002 GB, free: 59.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/3.804, allocations: 34.47 kB / 3.002 GB, free: 59.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/3.804, allocations: 0 / 3.002 GB, free: 59.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002513/3.804, allocations: 101.7 kB / 3.003 GB, free: 59.13 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/3.804, allocations: 51.41 kB / 3.003 GB, free: 59.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/3.804, allocations: 117.3 kB / 3.003 GB, free: 58.94 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/3.804, allocations: 25.7 kB / 3.003 GB, free: 58.91 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/3.804, allocations: 100.1 kB / 3.003 GB, free: 58.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/3.805, allocations: 23.66 kB / 3.003 GB, free: 58.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-06/3.805, allocations: 0 / 3.003 GB, free: 58.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/3.805, allocations: 326.7 kB / 3.003 GB, free: 58.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/3.805, allocations: 27.98 kB / 3.003 GB, free: 58.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/3.805, allocations: 50.52 kB / 3.003 GB, free: 58.37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/3.805, allocations: 27.98 kB / 3.003 GB, free: 58.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/3.805, allocations: 0 / 3.003 GB, free: 58.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001538/3.805, allocations: 97.56 kB / 3.003 GB, free: 58.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/3.805, allocations: 10.84 kB / 3.003 GB, free: 58.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/3.805, allocations: 0 / 3.003 GB, free: 58.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/3.805, allocations: 0 / 3.003 GB, free: 58.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/3.805, allocations: 35.97 kB / 3.003 GB, free: 58.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/3.805, allocations: 320 / 3.003 GB, free: 58.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/3.805, allocations: 31.88 kB / 3.003 GB, free: 58.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/3.805, allocations: 4 kB / 3.003 GB, free: 58.16 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.708e-05/3.805, allocations: 108.9 kB / 3.004 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/3.806, allocations: 15.84 kB / 3.004 GB, free: 58.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/3.806, allocations: 8.5 kB / 3.004 GB, free: 58.03 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/3.806, allocations: 4 kB / 3.004 GB, free: 58.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/3.806, allocations: 3.984 kB / 3.004 GB, free: 58.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/3.806, allocations: 0 / 3.004 GB, free: 58.02 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/3.806, allocations: 386.7 kB / 3.004 GB, free: 57.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/3.806, allocations: 0 / 3.004 GB, free: 57.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/3.806, allocations: 39.91 kB / 3.004 GB, free: 57.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/3.806, allocations: 0 / 3.004 GB, free: 57.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/3.806, allocations: 8 kB / 3.004 GB, free: 57.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/3.806, allocations: 0 / 3.004 GB, free: 57.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/3.806, allocations: 0 / 3.004 GB, free: 57.55 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001653/3.806, allocations: 203.2 kB / 3.004 GB, free: 57.34 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/3.806, allocations: 88.95 kB / 3.004 GB, free: 57.23 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/3.806, allocations: 0 / 3.004 GB, free: 57.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/3.807, allocations: 27.97 kB / 3.004 GB, free: 57.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/3.807, allocations: 0 / 3.004 GB, free: 57.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/3.807, allocations: 7.984 kB / 3.004 GB, free: 57.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.773e-05/3.807, allocations: 97.52 kB / 3.004 GB, free: 57.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003471/3.807, allocations: 67.89 kB / 3.005 GB, free: 57.04 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.0007928/3.808, allocations: 0.7407 MB / 3.005 GB, free: 56.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001709/3.808, allocations: 71.97 kB / 3.005 GB, free: 56.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/3.808, allocations: 0 / 3.005 GB, free: 56.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/3.808, allocations: 35.98 kB / 3.005 GB, free: 56.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/3.808, allocations: 23.92 kB / 3.005 GB, free: 56.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/3.809, allocations: 159.3 kB / 3.006 GB, free: 55.99 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/3.809, allocations: 0.727 MB / 3.006 GB, free: 55.24 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/3.809, allocations: 0 / 3.006 GB, free: 55.24 MB / 1.151 GB Notification: Performance of Templates: time 0.008469/3.818, allocations: 5.622 MB / 3.012 GB, free: 49.63 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