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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.0009538/0.000954, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008021/0.000802, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.377e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1903, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8209/1.011, allocations: 131.2 MB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.012, allocations: 80.31 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005857/1.018, allocations: 2.041 MB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.135e-06/1.018, allocations: 0 / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.018, allocations: 0 / 1.022 GB, free: 1.781 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.0004429/1.018, allocations: 326.3 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/1.018, allocations: 12.03 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/1.018, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/1.018, allocations: 167 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/1.018, allocations: 4 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/1.019, allocations: 0 / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/1.019, allocations: 56.88 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.019, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.019, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.019, allocations: 4 kB / 1.023 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/1.019, allocations: 10.88 kB / 1.023 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/1.019, allocations: 164.1 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/1.019, allocations: 49.5 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/1.019, allocations: 19.42 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.02, allocations: 81.11 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.02, allocations: 37 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/1.02, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001563/1.021, allocations: 477.2 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.021, allocations: 51.41 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/1.021, allocations: 93 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.021, allocations: 25.7 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/1.021, allocations: 83.58 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/1.022, allocations: 19.66 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1.022, allocations: 3.812 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.022, allocations: 318.8 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/1.022, allocations: 11.06 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/1.022, allocations: 15.25 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/1.022, allocations: 11.44 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.022, allocations: 4.109 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001315/1.022, allocations: 75.88 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.022, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.022, allocations: 256 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/1.022, allocations: 12 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.022, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 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 0.000114/1.022, allocations: 116.2 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/1.022, allocations: 8 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.023, allocations: 89.7 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.023, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.023, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.023, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/1.023, allocations: 163.4 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.023, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/1.023, allocations: 23.8 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.023, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/1.023, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.023, allocations: 4 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.023, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/1.023, allocations: 107.5 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/1.023, allocations: 89 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/1.023, allocations: 2.938 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/1.023, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/1.023, allocations: 11.98 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/1.023, allocations: 10.75 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.092e-05/1.023, allocations: 75.28 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.023, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002318/1.024, allocations: 38.81 kB / 1.025 GB, free: 14.69 MB / 0.6511 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.0002964/1.024, allocations: 143.1 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001208/1.024, allocations: 41.78 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.024, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/1.024, allocations: 27.47 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/1.024, allocations: 6.062 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/1.025, allocations: 104.9 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/1.025, allocations: 0.6809 MB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.96e-05/1.025, allocations: 8.172 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/1.025, allocations: 15.44 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.025, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.00323/1.028, allocations: 0.7371 MB / 1.026 GB, free: 12.92 MB / 0.6511 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