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.DewPointTemperatureDerivativeCheck_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.DewPointTemperatureDerivativeCheck_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.DewPointTemperatureDerivativeCheck_amb") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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.DewPointTemperatureDerivativeCheck_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.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001054/0.001054, allocations: 181.2 kB / 316 MB, free: 3.508 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.074/1.074, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0007896/0.0007896, allocations: 93.81 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5494, allocations: 132.7 MB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.5497, allocations: 83.56 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005829/0.5555, allocations: 1.98 MB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5555, allocations: 0 / 1.016 GB, free: 4.227 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.0002405/0.5558, allocations: 340.8 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.5558, allocations: 8.031 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.5559, allocations: 7.984 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.352e-05/0.556, allocations: 171 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.556, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.556, allocations: 3.906 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.887e-05/0.5561, allocations: 12.12 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/0.5562, allocations: 33.69 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5562, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.5562, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5562, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.5563, allocations: 134 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.5565, allocations: 29.03 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.5565, allocations: 24.05 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5565, allocations: 0.8438 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5566, allocations: 41.66 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.5566, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005524/0.5571, allocations: 282.2 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.5572, allocations: 51.41 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/0.5572, allocations: 89 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5572, allocations: 25.7 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.5573, allocations: 84.08 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.5573, allocations: 15 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.5573, allocations: 3.938 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.5574, allocations: 326.5 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.5574, allocations: 7.984 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.5574, allocations: 14.5 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.5575, allocations: 7.688 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.41e-07/0.5575, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.164e-05/0.5576, allocations: 56.12 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.5576, allocations: 4 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5576, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5576, allocations: 4 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.5577, allocations: 15.92 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5577, allocations: 3.906 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.5577, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5577, allocations: 8 kB / 1.018 GB, free: 2.277 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.749e-05/0.5578, allocations: 101 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.5578, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.5579, allocations: 67.88 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.558, allocations: 7.906 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.558, allocations: 128 / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.558, allocations: 4 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.5581, allocations: 134 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5581, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.5581, allocations: 15.94 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5581, allocations: 4 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.5582, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5582, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5582, allocations: 3.984 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.5583, allocations: 95.47 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.5583, allocations: 81.02 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.5583, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.5584, allocations: 8.062 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.5584, allocations: 3.984 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5584, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.085e-05/0.5585, allocations: 75.28 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001666/0.5586, allocations: 7.938 kB / 1.018 GB, free: 1.613 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.0001102/0.5588, allocations: 107.2 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.5588, allocations: 26.12 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5588, allocations: 4 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.5589, allocations: 11.44 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.559, allocations: 11.92 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.5592, allocations: 78.95 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.5594, allocations: 0.6958 MB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.5594, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of Templates: time 0.002009/0.5614, allocations: 0.5073 MB / 1.02 GB, free: 188 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches