Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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 2.025/2.025, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.00165/0.00165, allocations: 189.2 kB / 487 MB, free: 5.352 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.331/1.331, 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.0009657/0.0009658, allocations: 93.88 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.463e-06/6.493e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6279/0.8669, allocations: 148.9 MB / 1.351 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.8672, allocations: 74.5 kB / 1.351 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003129/0.8704, allocations: 0.682 MB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8704, allocations: 1.094 kB / 1.351 GB, free: 15.73 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.0003169/0.8707, allocations: 339.7 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.8708, allocations: 10 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.8709, allocations: 7.828 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.871, allocations: 163.1 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.871, allocations: 0 / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.871, allocations: 5.625 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/0.8711, allocations: 10.89 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.8712, allocations: 40.12 kB / 1.352 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8712, allocations: 0.75 kB / 1.352 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.8712, allocations: 4.906 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8712, allocations: 3.438 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.8716, allocations: 225.3 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.8716, allocations: 24.81 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.8717, allocations: 19.77 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.8717, allocations: 0 / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.8717, allocations: 39.61 kB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8717, allocations: 3.938 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.8719, allocations: 39.3 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.8719, allocations: 52.91 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.872, allocations: 92.62 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.872, allocations: 29.73 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.872, allocations: 86.78 kB / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.872, allocations: 5.062 kB / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.872, allocations: 0 / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.8721, allocations: 317 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.8721, allocations: 3.406 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.8721, allocations: 5.344 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.8722, allocations: 9.141 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8722, allocations: 1.703 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.82e-05/0.8722, allocations: 47.09 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.8723, allocations: 5.031 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8723, allocations: 1.25 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8723, allocations: 0 / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.8724, allocations: 12.53 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8724, allocations: 0 / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.8725, allocations: 13.33 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.8725, allocations: 1.156 kB / 1.353 GB, free: 14.16 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.585e-05/0.8725, allocations: 106.9 kB / 1.353 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.8726, allocations: 1.156 kB / 1.353 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.8727, allocations: 55.77 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8727, allocations: 5.219 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8727, allocations: 0 / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8727, allocations: 1.031 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.8728, allocations: 140.5 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8728, allocations: 1 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.8729, allocations: 12.88 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.8729, allocations: 2.062 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.873, allocations: 0 / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.873, allocations: 4.75 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.873, allocations: 0.7812 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.9e-05/0.8731, allocations: 143.7 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.8731, allocations: 78.11 kB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.8731, allocations: 1.125 kB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.8732, allocations: 13.09 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.8733, allocations: 13.25 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.8733, allocations: 4.844 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.178e-05/0.8733, allocations: 82.16 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002064/0.8735, allocations: 4.562 kB / 1.354 GB, free: 13.53 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 (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 Backend phase and start with SimCode phase: time 0.0001028/0.8736, allocations: 103.3 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.8737, allocations: 13.69 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8737, allocations: 0 / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.8737, allocations: 13.81 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.8739, allocations: 2 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.8742, allocations: 65.08 kB / 1.354 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.8743, allocations: 0.6878 MB / 1.354 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.8743, allocations: 0 / 1.354 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.002338/0.8767, allocations: 450 kB / 1.355 GB, free: 12.61 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches