Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [: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.967/1.967, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001097/0.001097, allocations: 197.2 kB / 487 MB, free: 5.316 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.339/1.339, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008989/0.000899, allocations: 110.8 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.301e-06/6.392e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2207, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6261/0.8468, allocations: 149.9 MB / 1.352 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.8471, allocations: 75.66 kB / 1.352 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006328/0.8535, allocations: 1.686 MB / 1.353 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8535, allocations: 0 / 1.353 GB, free: 15.92 MB / 0.8073 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.0003337/0.8538, allocations: 364.1 kB / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8539, allocations: 10.75 kB / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.8543, allocations: 31.64 kB / 1.354 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/0.8544, allocations: 165.7 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.8544, allocations: 0.75 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.8544, allocations: 1.438 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.931e-05/0.8545, allocations: 21.67 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.8546, allocations: 48.72 kB / 1.354 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.8546, allocations: 0.8125 kB / 1.354 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8546, allocations: 4.562 kB / 1.354 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8546, allocations: 0.8125 kB / 1.354 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.8551, allocations: 253.1 kB / 1.354 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.8551, allocations: 35.84 kB / 1.354 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.8552, allocations: 19.28 kB / 1.354 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.8552, allocations: 1.031 kB / 1.354 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.8552, allocations: 32.28 kB / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.8552, allocations: 0 / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.8554, allocations: 59.47 kB / 1.354 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.8555, allocations: 53.06 kB / 1.354 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.8555, allocations: 93.33 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.8555, allocations: 26.48 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.8556, allocations: 81.58 kB / 1.355 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.8556, allocations: 5.719 kB / 1.355 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.8556, allocations: 0 / 1.355 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.8557, allocations: 315.9 kB / 1.355 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.8557, allocations: 14.42 kB / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.8557, allocations: 10.27 kB / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.8558, allocations: 15.75 kB / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8558, allocations: 0 / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001086/0.8559, allocations: 61.91 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8559, allocations: 5.516 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8559, allocations: 1.094 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8559, allocations: 0 / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.8561, allocations: 21.12 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.8561, allocations: 0.8125 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.8562, allocations: 13.72 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.8562, allocations: 2.344 kB / 1.355 GB, free: 14.34 MB / 0.8073 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 (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 prepare postOptimizeDAE: time 4.879e-05/0.8563, allocations: 110.5 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.8563, allocations: 1.969 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.8564, allocations: 5.031 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8564, allocations: 1.344 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8564, allocations: 1.875 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.8564, allocations: 3.984 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.8565, allocations: 152.4 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8566, allocations: 4.969 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.8567, allocations: 16.66 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8567, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.8567, allocations: 2.297 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8567, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8567, allocations: 1 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/0.8569, allocations: 160.1 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.8569, allocations: 78.2 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.8569, allocations: 4.562 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.8571, allocations: 12.5 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.8571, allocations: 6.422 kB / 1.356 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.8571, allocations: 6.562 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.926e-05/0.8571, allocations: 80 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002624/0.8574, allocations: 11.94 kB / 1.356 GB, free: 13.73 MB / 0.8073 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.0001557/0.8576, allocations: 112.3 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.725e-05/0.8577, allocations: 29.08 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.8577, allocations: 0 / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.8577, allocations: 20.31 kB / 1.356 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.8579, allocations: 5.812 kB / 1.356 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.8582, allocations: 76.39 kB / 1.356 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.8584, allocations: 0.6932 MB / 1.357 GB, free: 28.86 MB / 0.823 GB Notification: Performance of SimCode: time 3.7e-07/0.8584, allocations: 0 / 1.357 GB, free: 28.86 MB / 0.823 GB Notification: Performance of Templates: time 0.003089/0.8615, allocations: 0.9264 MB / 1.357 GB, free: 28.78 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches