Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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.178/1.178, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0009244/0.0009243, allocations: 185.2 kB / 316 MB, free: 3.617 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.062/1.062, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008529/0.0008529, allocations: 85.52 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.825e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5899, allocations: 131.5 MB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.5901, allocations: 82.47 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005268/0.5954, allocations: 1.693 MB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5954, allocations: 0 / 1.015 GB, free: 5.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002771/0.5957, allocations: 331.8 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5958, allocations: 8.031 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.5958, allocations: 4.875 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.5959, allocations: 159.1 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5959, allocations: 7.906 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.596, allocations: 4 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.792e-05/0.596, allocations: 15.48 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.5961, allocations: 43.94 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5961, allocations: 0 / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.5962, allocations: 4 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5962, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.5963, allocations: 141.2 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.5964, allocations: 29.66 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.5964, allocations: 16.73 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.516e-05/0.5965, allocations: 85.09 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5966, allocations: 38.3 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.5966, allocations: 0 / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001007/0.5976, allocations: 438.5 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5976, allocations: 51.41 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/0.5977, allocations: 85 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.5977, allocations: 29.7 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.5978, allocations: 80.14 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.5978, allocations: 23.08 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5978, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.5979, allocations: 314.9 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.5979, allocations: 11.5 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.598, allocations: 14.75 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.598, allocations: 15.92 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.598, allocations: 3.938 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001041/0.5981, allocations: 66.17 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/0.5981, allocations: 4 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5981, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5982, allocations: 4 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.5983, allocations: 15.89 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5983, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.5983, allocations: 8 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5983, allocations: 0 / 1.017 GB, free: 3.625 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 (8): * Single equations (assignments): 8 * 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.917e-05/0.5984, allocations: 104.9 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.5984, allocations: 7.906 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.5986, allocations: 76.19 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5986, allocations: 4 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5986, allocations: 0 / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5986, allocations: 7.984 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.39e-05/0.5987, allocations: 134.6 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5987, allocations: 3.938 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.5988, allocations: 15.69 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5988, allocations: 0 / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5988, allocations: 8.156 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5988, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5988, allocations: 7.938 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001625/0.599, allocations: 115.3 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.599, allocations: 77.11 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5991, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.5991, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.5991, allocations: 3.984 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5991, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.267e-05/0.5992, allocations: 75.28 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002025/0.5994, allocations: 43.92 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002046/0.5996, allocations: 151.1 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.5997, allocations: 35.56 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5997, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.5997, allocations: 18.88 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.5998, allocations: 4 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.6001, allocations: 88 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.6004, allocations: 0.6958 MB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.6004, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of Templates: time 0.00258/0.6029, allocations: 0.8749 MB / 1.019 GB, free: 1.023 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches