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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.96/1.96, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001061/0.001061, allocations: 181.2 kB / 487 MB, free: 5.367 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.259/1.259, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0009117/0.0009118, allocations: 92.67 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.064e-06/7.104e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.178/3.411, allocations: 1.726 GB / 2.931 GB, free: 105 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/3.412, allocations: 86.89 kB / 2.931 GB, free: 104.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1123/3.524, allocations: 64.13 MB / 2.994 GB, free: 44.28 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.152e-05/3.524, allocations: 4 kB / 2.994 GB, free: 44.27 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.0005332/3.524, allocations: 442.2 kB / 2.994 GB, free: 43.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/3.524, allocations: 8.031 kB / 2.994 GB, free: 43.79 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/3.525, allocations: 91.69 kB / 2.994 GB, free: 43.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/3.526, allocations: 206.8 kB / 2.995 GB, free: 43.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-06/3.526, allocations: 0 / 2.995 GB, free: 43.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/3.526, allocations: 8 kB / 2.995 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001764/3.526, allocations: 75.89 kB / 2.995 GB, free: 43.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/3.526, allocations: 93.56 kB / 2.995 GB, free: 43.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/3.526, allocations: 4 kB / 2.995 GB, free: 43.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/3.526, allocations: 0 / 2.995 GB, free: 43.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/3.526, allocations: 4 kB / 2.995 GB, free: 43.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/3.527, allocations: 377.4 kB / 2.995 GB, free: 42.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/3.527, allocations: 196.1 kB / 2.995 GB, free: 42.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/3.527, allocations: 44.75 kB / 2.995 GB, free: 42.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/3.527, allocations: 4 kB / 2.995 GB, free: 42.59 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/3.527, allocations: 34.56 kB / 2.995 GB, free: 42.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/3.527, allocations: 4 kB / 2.995 GB, free: 42.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002617/3.527, allocations: 105.6 kB / 2.995 GB, free: 42.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/3.528, allocations: 51.41 kB / 2.996 GB, free: 42.38 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/3.528, allocations: 117.3 kB / 2.996 GB, free: 42.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/3.528, allocations: 25.7 kB / 2.996 GB, free: 42.22 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/3.528, allocations: 100.1 kB / 2.996 GB, free: 42.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/3.528, allocations: 27.64 kB / 2.996 GB, free: 42.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/3.528, allocations: 0 / 2.996 GB, free: 42.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/3.528, allocations: 322.8 kB / 2.996 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/3.528, allocations: 27.98 kB / 2.996 GB, free: 41.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/3.528, allocations: 50.56 kB / 2.996 GB, free: 41.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/3.528, allocations: 23.98 kB / 2.996 GB, free: 41.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/3.528, allocations: 4 kB / 2.996 GB, free: 41.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001517/3.528, allocations: 101.5 kB / 2.996 GB, free: 41.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/3.528, allocations: 4 kB / 2.996 GB, free: 41.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/3.528, allocations: 0 / 2.996 GB, free: 41.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/3.528, allocations: 4.031 kB / 2.996 GB, free: 41.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/3.528, allocations: 31.97 kB / 2.996 GB, free: 41.51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/3.528, allocations: 7.984 kB / 2.996 GB, free: 41.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/3.529, allocations: 23.89 kB / 2.996 GB, free: 41.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/3.529, allocations: 7.938 kB / 2.996 GB, free: 41.47 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.763e-05/3.529, allocations: 103.7 kB / 2.996 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/3.529, allocations: 7.906 kB / 2.996 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/3.529, allocations: 24.48 kB / 2.996 GB, free: 41.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/3.529, allocations: 0 / 2.996 GB, free: 41.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.529, allocations: 3.906 kB / 2.996 GB, free: 41.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/3.529, allocations: 4 kB / 2.996 GB, free: 41.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/3.529, allocations: 370.9 kB / 2.997 GB, free: 40.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/3.529, allocations: 4 kB / 2.997 GB, free: 40.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/3.529, allocations: 35.97 kB / 2.997 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/3.529, allocations: 0 / 2.997 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/3.529, allocations: 3.984 kB / 2.997 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/3.529, allocations: 4 kB / 2.997 GB, free: 40.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/3.529, allocations: 4 kB / 2.997 GB, free: 40.87 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/3.53, allocations: 203.3 kB / 2.997 GB, free: 40.65 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/3.53, allocations: 84.95 kB / 2.997 GB, free: 40.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/3.53, allocations: 11.92 kB / 2.997 GB, free: 40.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/3.53, allocations: 19.98 kB / 2.997 GB, free: 40.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/3.53, allocations: 11.98 kB / 2.997 GB, free: 40.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/3.53, allocations: 4 kB / 2.997 GB, free: 40.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.656e-05/3.53, allocations: 99.27 kB / 2.997 GB, free: 40.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003358/3.53, allocations: 67.89 kB / 2.997 GB, free: 40.34 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.0007962/3.531, allocations: 0.7368 MB / 2.998 GB, free: 39.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001751/3.531, allocations: 63.92 kB / 2.998 GB, free: 39.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/3.531, allocations: 8 kB / 2.998 GB, free: 39.53 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/3.531, allocations: 35.98 kB / 2.998 GB, free: 39.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/3.532, allocations: 23.92 kB / 2.998 GB, free: 39.47 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/3.532, allocations: 159.1 kB / 2.998 GB, free: 39.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/3.532, allocations: 0.7347 MB / 2.999 GB, free: 38.53 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/3.532, allocations: 0 / 2.999 GB, free: 38.53 MB / 1.151 GB Notification: Performance of Templates: time 0.00825/3.541, allocations: 5.628 MB / 3.005 GB, free: 32.92 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