Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.206/1.206, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001389/0.001389, allocations: 187.9 kB / 316 MB, free: 3.5 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.078/1.078, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.000842/0.0008421, allocations: 79.39 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.6318, allocations: 132.4 MB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.632, allocations: 71.66 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002658/0.6347, allocations: 0.6725 MB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6347, allocations: 0 / 1.015 GB, free: 5.699 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003517/0.6351, allocations: 346.3 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6351, allocations: 8.031 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.6352, allocations: 4 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6354, allocations: 166.9 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6354, allocations: 4 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.6354, allocations: 4 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.125e-05/0.6355, allocations: 11.48 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.6355, allocations: 37.27 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6355, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6356, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.6356, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.6359, allocations: 232.5 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.636, allocations: 30.02 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.636, allocations: 8.922 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.636, allocations: 3.125 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.636, allocations: 34.56 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6361, allocations: 0 / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.6362, allocations: 37.33 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.6362, allocations: 55.31 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.6363, allocations: 99.75 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.6363, allocations: 25.7 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.6364, allocations: 87.52 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.6364, allocations: 3.906 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.6364, allocations: 0.9375 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.6365, allocations: 314.8 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.6365, allocations: 7.562 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.6365, allocations: 4 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.6366, allocations: 15.36 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6366, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.269e-05/0.6366, allocations: 37.2 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.6367, allocations: 4 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6367, allocations: 5.5 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6367, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.6368, allocations: 15.92 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6368, allocations: 7.938 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.6369, allocations: 11.98 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.6369, allocations: 0 / 1.016 GB, free: 3.953 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 (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 6.61e-05/0.637, allocations: 101 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.637, allocations: 4 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.6371, allocations: 68.03 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6371, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6371, allocations: 4 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6371, allocations: 4 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.6373, allocations: 137.4 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.6373, allocations: 3.938 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.6374, allocations: 11.98 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6374, allocations: 8 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.6374, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6374, allocations: 3.906 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6374, allocations: 0 / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001216/0.6375, allocations: 137.9 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.6376, allocations: 84.95 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6376, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.6377, allocations: 15.98 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.6377, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.6378, allocations: 4 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.543e-05/0.6378, allocations: 78.84 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002043/0.638, allocations: 8 kB / 1.017 GB, free: 3.23 MB / 0.6355 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.0001049/0.6381, allocations: 95.25 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.6382, allocations: 18.92 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.6382, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.6382, allocations: 11.62 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.6384, allocations: 7.891 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.6386, allocations: 66.91 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6389, allocations: 0.6919 MB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.6389, allocations: 0 / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of Templates: time 0.002004/0.6409, allocations: 454.3 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches