Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [: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.944/1.944, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001039/0.001039, allocations: 187.9 kB / 487 MB, free: 5.426 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.337/1.337, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.001182/0.001182, allocations: 82.44 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.644e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.263, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.995/3.258, allocations: 1.712 GB / 2.917 GB, free: 122.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/3.258, allocations: 88.11 kB / 2.918 GB, free: 122.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.04811/3.306, allocations: 26.11 MB / 2.943 GB, free: 101.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.363e-06/3.306, allocations: 0 / 2.943 GB, free: 101.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002203/3.306, allocations: 346.2 kB / 2.943 GB, free: 100.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/3.306, allocations: 8.031 kB / 2.943 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/3.307, allocations: 47.78 kB / 2.943 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/3.307, allocations: 163.1 kB / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/3.307, allocations: 0 / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/3.307, allocations: 0 / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.261e-05/3.307, allocations: 15.98 kB / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.895e-05/3.307, allocations: 41.55 kB / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/3.307, allocations: 0 / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/3.307, allocations: 1.641 kB / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/3.307, allocations: 3.906 kB / 2.944 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/3.307, allocations: 225.4 kB / 2.944 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.565e-05/3.308, allocations: 26.52 kB / 2.944 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/3.308, allocations: 16.59 kB / 2.944 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/3.308, allocations: 0 / 2.944 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/3.308, allocations: 30.66 kB / 2.944 GB, free: 100.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/3.308, allocations: 4 kB / 2.944 GB, free: 100.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001202/3.308, allocations: 41.59 kB / 2.944 GB, free: 100.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.43e-05/3.308, allocations: 51.41 kB / 2.944 GB, free: 100.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/3.308, allocations: 96.88 kB / 2.944 GB, free: 100 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/3.308, allocations: 25.7 kB / 2.944 GB, free: 99.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/3.308, allocations: 87.89 kB / 2.944 GB, free: 99.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-06/3.308, allocations: 7.891 kB / 2.944 GB, free: 99.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/3.308, allocations: 0 / 2.944 GB, free: 99.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/3.308, allocations: 328 kB / 2.945 GB, free: 99.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/3.308, allocations: 7.875 kB / 2.945 GB, free: 99.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/3.308, allocations: 4 kB / 2.945 GB, free: 99.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/3.308, allocations: 7.984 kB / 2.945 GB, free: 99.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/3.308, allocations: 0 / 2.945 GB, free: 99.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.686e-05/3.308, allocations: 49.44 kB / 2.945 GB, free: 99.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/3.308, allocations: 11.98 kB / 2.945 GB, free: 99.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/3.308, allocations: 0 / 2.945 GB, free: 99.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/3.308, allocations: 0 / 2.945 GB, free: 99.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/3.308, allocations: 11.98 kB / 2.945 GB, free: 99.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/3.308, allocations: 4 kB / 2.945 GB, free: 99.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/3.308, allocations: 11.84 kB / 2.945 GB, free: 99.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/3.308, allocations: 3.984 kB / 2.945 GB, free: 99.44 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 (3): * Single equations (assignments): 3 * 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 3.817e-05/3.308, allocations: 101 kB / 2.945 GB, free: 99.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/3.308, allocations: 4 kB / 2.945 GB, free: 99.33 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/3.309, allocations: 3.312 kB / 2.945 GB, free: 99.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/3.309, allocations: 0 / 2.945 GB, free: 99.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/3.309, allocations: 11.84 kB / 2.945 GB, free: 99.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/3.309, allocations: 0 / 2.945 GB, free: 99.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/3.309, allocations: 133.9 kB / 2.945 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/3.309, allocations: 0 / 2.945 GB, free: 99.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/3.309, allocations: 4 kB / 2.945 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/3.309, allocations: 0 / 2.945 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/3.309, allocations: 0 / 2.945 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/3.309, allocations: 0 / 2.945 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/3.309, allocations: 0 / 2.945 GB, free: 99.15 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.575e-05/3.309, allocations: 143.4 kB / 2.945 GB, free: 99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/3.309, allocations: 81.09 kB / 2.945 GB, free: 98.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/3.309, allocations: 3.906 kB / 2.945 GB, free: 98.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/3.309, allocations: 4 kB / 2.945 GB, free: 98.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/3.309, allocations: 0 / 2.945 GB, free: 98.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/3.309, allocations: 4 kB / 2.945 GB, free: 98.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.688e-05/3.309, allocations: 87.02 kB / 2.945 GB, free: 98.81 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002915/3.309, allocations: 42.92 kB / 2.945 GB, free: 98.79 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 (2): * Single equations (assignments): 2 * 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.0006082/3.31, allocations: 0.682 MB / 2.946 GB, free: 98.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.152e-05/3.31, allocations: 8 kB / 2.946 GB, free: 98.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/3.31, allocations: 0 / 2.946 GB, free: 98.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/3.31, allocations: 4 kB / 2.946 GB, free: 98.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/3.31, allocations: 14.73 kB / 2.946 GB, free: 98.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/3.31, allocations: 63.84 kB / 2.946 GB, free: 98.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/3.311, allocations: 0.688 MB / 2.947 GB, free: 97.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.333e-06/3.311, allocations: 7.938 kB / 2.947 GB, free: 97.29 MB / 1.151 GB Notification: Performance of Templates: time 0.006293/3.317, allocations: 4.092 MB / 2.951 GB, free: 93.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches