Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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 7.0.3-maint.7.0.x/package.mo): time 1.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 173.3 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 98.62 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.855e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5682, allocations: 133.2 MB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5685, allocations: 82.58 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008139/0.5766, allocations: 2.529 MB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5767, allocations: 4 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002995/0.577, allocations: 354.2 kB / 1.018 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.577, allocations: 8.031 kB / 1.018 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.5774, allocations: 27.95 kB / 1.018 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.5775, allocations: 163.1 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5775, allocations: 3.906 kB / 1.018 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.5776, allocations: 8.125 kB / 1.018 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.792e-05/0.5776, allocations: 19.75 kB / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.5777, allocations: 52.59 kB / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5778, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5778, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5778, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.5779, allocations: 145.4 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.5781, allocations: 45.48 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.5781, allocations: 24.3 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5782, allocations: 0 / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5782, allocations: 34.5 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5782, allocations: 3.938 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.001653/0.5799, allocations: 421.1 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.5799, allocations: 51.41 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.58, allocations: 96.17 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.58, allocations: 25.7 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.58, allocations: 84.08 kB / 1.019 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.5801, allocations: 23.53 kB / 1.019 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.5801, allocations: 0 / 1.019 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.5802, allocations: 319 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.5802, allocations: 30.06 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.5803, allocations: 30.09 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.5803, allocations: 27.61 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5803, allocations: 0 / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001837/0.5805, allocations: 101.8 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5805, allocations: 8 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5806, allocations: 0 / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.5806, allocations: 0 / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5808, allocations: 27.95 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.5808, allocations: 4 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.581, allocations: 4 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.581, allocations: 3.984 kB / 1.019 GB, free: 1.41 MB / 0.6355 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 (7): * Single equations (assignments): 7 * 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 6.291e-05/0.5811, allocations: 108.9 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.5811, allocations: 3.906 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/0.5812, allocations: 17.16 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5812, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5812, allocations: 4 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5812, allocations: 3.984 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.5814, allocations: 166.6 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5814, allocations: 0 / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.5816, allocations: 28.02 kB / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5816, allocations: 4 kB / 1.02 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5817, allocations: 3.938 kB / 1.02 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5817, allocations: 0 / 1.02 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5817, allocations: 3.984 kB / 1.02 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002701/0.5819, allocations: 165.3 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.582, allocations: 85.03 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.582, allocations: 0 / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.5822, allocations: 11.91 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.5822, allocations: 3.984 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.5823, allocations: 11.92 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.897e-05/0.5823, allocations: 82.84 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002222/0.5825, allocations: 32 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001908/0.5827, allocations: 135.2 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5829, allocations: 68.58 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5829, allocations: 0 / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/0.583, allocations: 38.05 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.5831, allocations: 12.08 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.5836, allocations: 114.6 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5839, allocations: 0.7075 MB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.5839, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.003912/0.5879, allocations: 2.12 MB / 1.023 GB, free: 13.5 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches