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.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,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") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,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") [: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.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7 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.000951/0.000951, allocations: 193.2 kB / 316 MB, free: 3.559 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.036/1.036, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0007852/0.0007852, allocations: 64.11 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.851e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5416, allocations: 132.2 MB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5418, allocations: 86.5 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005585/0.5474, allocations: 1.782 MB / 1.016 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.5474, allocations: 0 / 1.016 GB, free: 4.996 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.0002346/0.5477, allocations: 337.9 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5477, allocations: 8.031 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5478, allocations: 4 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.5479, allocations: 177.4 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.5479, allocations: 4 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5479, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.986e-05/0.548, allocations: 11.62 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.5481, allocations: 48.84 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5481, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5481, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5481, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.5483, allocations: 133.2 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.5484, allocations: 33.56 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.5485, allocations: 16.05 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5485, allocations: 7.812 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.5485, allocations: 34.55 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5485, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.001185/0.5497, allocations: 387.2 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.5497, allocations: 51.41 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.577e-05/0.5498, allocations: 85 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.5498, allocations: 29.64 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.5498, allocations: 84.14 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.5499, allocations: 18.98 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.5499, allocations: 0 / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.55, allocations: 326.6 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.55, allocations: 11.69 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.55, allocations: 14.56 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.5501, allocations: 21.98 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5501, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.5502, allocations: 74.92 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.5502, allocations: 8 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5502, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.5502, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.5503, allocations: 11.98 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5504, allocations: 8 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.5504, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5504, allocations: 3.906 kB / 1.017 GB, free: 2.934 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.514e-05/0.5505, allocations: 101 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.5505, allocations: 4 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.5507, allocations: 103.4 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5507, allocations: 0 / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5507, allocations: 7.969 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5508, allocations: 3.984 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.789e-05/0.5509, allocations: 142.2 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5509, allocations: 0 / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.551, allocations: 11.94 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.551, allocations: 4 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.551, allocations: 0 / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.551, allocations: 3.984 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.551, allocations: 0 / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001634/0.5512, allocations: 127 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.5512, allocations: 85.08 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5512, allocations: 4 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.5513, allocations: 3.984 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.5513, allocations: 7.938 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5514, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.491e-05/0.5514, allocations: 75.28 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001732/0.5516, allocations: 12 kB / 1.018 GB, free: 2.211 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.0001065/0.5517, allocations: 107.2 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.5518, allocations: 42 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5518, allocations: 3.938 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.5518, allocations: 23.67 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.5519, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.5522, allocations: 91.28 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.5524, allocations: 0.6958 MB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of SimCode: time 2.01e-07/0.5524, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of Templates: time 0.002258/0.5547, allocations: 0.7824 MB / 1.02 GB, free: 500 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches