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.344/1.344, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.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: 193.1 kB / 326.5 MB, free: 2.242 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.669/1.669, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008064/0.0008065, allocations: 93.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003123, allocations: 10.03 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1964, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.3716, allocations: 131.2 MB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.3719, allocations: 71.95 kB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005395/0.3773, allocations: 2.042 MB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3773, allocations: 0 / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3773, allocations: 0 / 1.03 GB, free: 10.37 MB / 0.6823 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.0002649/0.3776, allocations: 335.3 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3776, allocations: 12.03 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.3776, allocations: 3.938 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3777, allocations: 167 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3778, allocations: 8 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3778, allocations: 0 / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.3779, allocations: 45.62 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.3779, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3779, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3779, allocations: 7.984 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.928e-05/0.378, allocations: 12 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3781, allocations: 161.6 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.714e-05/0.3782, allocations: 42.62 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.321e-05/0.3783, allocations: 89.03 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.3784, allocations: 30.56 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.3784, allocations: 4 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.00111/0.3795, allocations: 484.4 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3795, allocations: 55.41 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.3796, allocations: 89 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3796, allocations: 25.7 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.3796, allocations: 80.14 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3797, allocations: 31.55 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.3797, allocations: 0 / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3798, allocations: 319 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.3798, allocations: 8 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.3799, allocations: 15.98 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.3799, allocations: 19.89 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3799, allocations: 0 / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.38, allocations: 69.67 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.38, allocations: 10.66 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.38, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.3801, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.3801, allocations: 19.92 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3802, allocations: 4 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.3802, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3802, allocations: 8 kB / 1.032 GB, free: 7.961 MB / 0.6823 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 () * Number of clocked 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 7.815e-05/0.3803, allocations: 117.7 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.3803, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3805, allocations: 81.55 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3805, allocations: 0 / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3805, allocations: 4 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3805, allocations: 3.984 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.3806, allocations: 165.7 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3806, allocations: 7.953 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.3807, allocations: 8 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3807, allocations: 7.984 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3807, allocations: 3.938 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3807, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3807, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3809, allocations: 113.1 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.381, allocations: 85.09 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.381, allocations: 0 / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.381, allocations: 1.781 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.381, allocations: 7.984 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3811, allocations: 4 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.3811, allocations: 83.28 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3811, allocations: 0 / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002121/0.3813, allocations: 40.09 kB / 1.033 GB, free: 7.137 MB / 0.6823 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 () * Number of clocked 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.0002342/0.3816, allocations: 151.1 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.3817, allocations: 36.45 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3817, allocations: 0 / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.3817, allocations: 24.08 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.651e-05/0.3818, allocations: 9.969 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.3821, allocations: 168.7 kB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3823, allocations: 0.6809 MB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.3824, allocations: 4.188 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.3824, allocations: 15.42 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.3824, allocations: 0 / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of Templates: time 0.002487/0.3849, allocations: 0.7282 MB / 1.035 GB, free: 5.293 MB / 0.6823 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