Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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 10.0.0-master/package.mo): time 1.869/1.869, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009942/0.0009941, allocations: 185.2 kB / 490.8 MB, free: 11.2 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.402/1.402, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 92.33 kB / 0.9264 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 0 / 1.072 GB, free: 15.56 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6663, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.8466, allocations: 150.2 MB / 1.358 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.8469, allocations: 75.95 kB / 1.358 GB, free: 41.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.007441/0.8543, allocations: 1.508 MB / 1.36 GB, free: 39.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8544, allocations: 0.5938 kB / 1.36 GB, free: 39.84 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002876/0.8547, allocations: 340.1 kB / 1.36 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8548, allocations: 8.031 kB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.8553, allocations: 29.42 kB / 1.36 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.8555, allocations: 171 kB / 1.36 GB, free: 39.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8555, allocations: 0 / 1.36 GB, free: 39.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.8555, allocations: 0.875 kB / 1.36 GB, free: 39.22 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.765e-05/0.8556, allocations: 13.62 kB / 1.36 GB, free: 39.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.8557, allocations: 46.23 kB / 1.36 GB, free: 39.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8558, allocations: 0.5 kB / 1.36 GB, free: 39.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.8558, allocations: 7.766 kB / 1.36 GB, free: 39.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8558, allocations: 0 / 1.36 GB, free: 39.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.856, allocations: 146.1 kB / 1.361 GB, free: 38.97 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.8561, allocations: 27.45 kB / 1.361 GB, free: 38.94 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.8561, allocations: 13.48 kB / 1.361 GB, free: 38.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.8562, allocations: 4.484 kB / 1.361 GB, free: 38.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.8562, allocations: 35.38 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.8562, allocations: 1.156 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.8564, allocations: 49.62 kB / 1.361 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.8565, allocations: 52 kB / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.8565, allocations: 93.69 kB / 1.361 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.8566, allocations: 25.7 kB / 1.361 GB, free: 38.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.8566, allocations: 80.8 kB / 1.361 GB, free: 38.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.8566, allocations: 13.8 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-06/0.8566, allocations: 0 / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.8567, allocations: 310.8 kB / 1.361 GB, free: 38.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.8567, allocations: 8 kB / 1.361 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.8568, allocations: 8.594 kB / 1.361 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.8568, allocations: 8.516 kB / 1.361 GB, free: 38.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8568, allocations: 0.9375 kB / 1.361 GB, free: 38.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001315/0.857, allocations: 53.59 kB / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.857, allocations: 4.688 kB / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.857, allocations: 0 / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.857, allocations: 0.6562 kB / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.8572, allocations: 8.672 kB / 1.361 GB, free: 38.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.8572, allocations: 3.938 kB / 1.361 GB, free: 38.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.8573, allocations: 4.594 kB / 1.361 GB, free: 38.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.8573, allocations: 8.734 kB / 1.361 GB, free: 38.12 MB / 0.8855 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 5.326e-05/0.8574, allocations: 105.9 kB / 1.361 GB, free: 38.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.8574, allocations: 4 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.8575, allocations: 9.469 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8575, allocations: 0.5 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8575, allocations: 0 / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8575, allocations: 1.312 kB / 1.361 GB, free: 38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.8576, allocations: 134.1 kB / 1.362 GB, free: 37.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8576, allocations: 0 / 1.362 GB, free: 37.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.8578, allocations: 16.67 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8578, allocations: 0 / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8578, allocations: 0.5312 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8578, allocations: 4.953 kB / 1.362 GB, free: 37.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8578, allocations: 3.906 kB / 1.362 GB, free: 37.81 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/0.858, allocations: 82 kB / 1.362 GB, free: 37.72 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.858, allocations: 81.09 kB / 1.362 GB, free: 37.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.8581, allocations: 0.5 kB / 1.362 GB, free: 37.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.8582, allocations: 9.781 kB / 1.362 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.8582, allocations: 0 / 1.362 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.8582, allocations: 6.547 kB / 1.362 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.286e-05/0.8582, allocations: 88.11 kB / 1.362 GB, free: 37.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003503/0.8586, allocations: 16 kB / 1.362 GB, free: 37.51 MB / 0.8855 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.000211/0.8588, allocations: 121.2 kB / 1.362 GB, free: 37.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.859, allocations: 19.98 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.859, allocations: 0.5938 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.859, allocations: 9.156 kB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.8592, allocations: 7.984 kB / 1.362 GB, free: 37.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.8595, allocations: 64.84 kB / 1.362 GB, free: 37.26 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.8597, allocations: 0.6926 MB / 1.363 GB, free: 36.54 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.8597, allocations: 0 / 1.363 GB, free: 36.54 MB / 0.8855 GB Notification: Performance of Templates: time 0.003421/0.8631, allocations: 0.8787 MB / 1.364 GB, free: 35.74 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches