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.InverseDewPointTemperatureDerivativeCheck_amb.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.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb") [: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.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001052/0.001052, allocations: 180.5 kB / 316 MB, free: 3.535 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.083/1.083, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0008822/0.0008823, allocations: 98.41 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.182e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5629, allocations: 132.5 MB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.5631, allocations: 86.75 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004644/0.5678, allocations: 1.464 MB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5678, allocations: 0 / 1.015 GB, free: 4.895 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.000257/0.5681, allocations: 334.3 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5681, allocations: 12.02 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.5682, allocations: 11.38 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.835e-05/0.5683, allocations: 159.1 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5683, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5683, allocations: 7.906 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.108e-05/0.5684, allocations: 11.92 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.484e-05/0.5685, allocations: 36.88 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5685, allocations: 3.984 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.5685, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5685, allocations: 4 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.5686, allocations: 134 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.5688, allocations: 36.75 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.5688, allocations: 12.17 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5688, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.5689, allocations: 38.47 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.5689, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000591/0.5695, allocations: 280 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.5695, allocations: 58.89 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.254e-05/0.5696, allocations: 85 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5696, allocations: 26.64 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.5696, allocations: 84.14 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.5697, allocations: 15.75 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.5697, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5698, allocations: 320.9 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.5698, allocations: 15.5 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.5698, allocations: 7.938 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.5699, allocations: 11.86 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5699, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.051e-05/0.57, allocations: 60.38 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.57, allocations: 11.94 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.57, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.57, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.5701, allocations: 8 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5701, allocations: 4.766 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.5701, allocations: 11.98 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5702, allocations: 0 / 1.017 GB, free: 2.941 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 5.601e-05/0.5702, allocations: 104.9 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.5702, allocations: 4 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.5703, allocations: 63.89 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5704, allocations: 3.906 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5704, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5704, allocations: 7.984 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.867e-05/0.5705, allocations: 129.7 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5705, allocations: 7.984 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.5706, allocations: 12 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5706, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.5706, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5706, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5706, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001381/0.5707, allocations: 111.5 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.5708, allocations: 85 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.5708, allocations: 64 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.5708, allocations: 4 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.5709, allocations: 4 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.5709, allocations: 64 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.615e-05/0.5709, allocations: 75.28 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001682/0.5711, allocations: 8 kB / 1.018 GB, free: 2.27 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 (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 Backend phase and start with SimCode phase: time 0.0001243/0.5712, allocations: 107.2 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.5713, allocations: 31.25 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5713, allocations: 4 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.5713, allocations: 15.38 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.057e-05/0.5714, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.5716, allocations: 90.8 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.5719, allocations: 0.6959 MB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.5719, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.001895/0.5738, allocations: 483.3 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches