Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 169 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9758/0.9758, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.798/1.798, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.743e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001329/0.001357, allocations: 0.6094 MB / 0.7878 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.001671, allocations: 148.5 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.001697, allocations: 0 / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.001713, allocations: 0 / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.057e-05/0.001734, allocations: 1.469 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.002055, allocations: 47.77 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.00211, allocations: 11.98 kB / 0.788 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.002149, allocations: 4.484 kB / 0.788 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.002182, allocations: 13.09 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.002247, allocations: 7.984 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.002261, allocations: 0 / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.002333, allocations: 31.97 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.002348, allocations: 4.953 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.002365, allocations: 7.984 kB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.002465, allocations: 40.62 kB / 0.7881 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002467, allocations: 0 / 0.7881 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002467, allocations: 6.406 kB / 0.7881 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.002472, allocations: 0 / 0.7881 GB, free: 11.86 MB / 0.7448 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.0003522/0.002824, allocations: 356.3 kB / 0.7884 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.002863, allocations: 8.031 kB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.002907, allocations: 4.938 kB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.002992, allocations: 112.6 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003003, allocations: 2.125 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.003025, allocations: 4.719 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.003127, allocations: 71.95 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.003133, allocations: 192 / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.003145, allocations: 4.359 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003152, allocations: 0.9688 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.003185, allocations: 12.66 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.00332, allocations: 120.6 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.003411, allocations: 55.58 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.003438, allocations: 17.34 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.449e-05/0.003513, allocations: 7.984 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.003537, allocations: 37.52 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.003538, allocations: 0 / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0009439/0.004482, allocations: 411.1 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.004513, allocations: 57.09 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.004582, allocations: 153.9 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.004597, allocations: 29.7 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.004634, allocations: 126.9 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.004672, allocations: 33.11 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.004703, allocations: 23.38 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.004819, allocations: 0.4884 MB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.004837, allocations: 5.812 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.004857, allocations: 19.98 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.004907, allocations: 31.91 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.004908, allocations: 0 / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.287e-05/0.004991, allocations: 69.58 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.005008, allocations: 11.94 kB / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005012, allocations: 3.938 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005023, allocations: 0 / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.00509, allocations: 15.98 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.005096, allocations: 3.938 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.005111, allocations: 4 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.005119, allocations: 7.984 kB / 0.7903 GB, free: 9.336 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.005186, allocations: 153.6 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.0052, allocations: 8 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.005336, allocations: 83.5 kB / 0.7905 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.005339, allocations: 3.984 kB / 0.7905 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.005345, allocations: 7.938 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005349, allocations: 0 / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.876e-05/0.005428, allocations: 115.2 kB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005429, allocations: 0 / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.005486, allocations: 15.98 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005488, allocations: 0 / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.005497, allocations: 4 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005498, allocations: 0 / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0055, allocations: 0 / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.00565, allocations: 129.4 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.005656, allocations: 0 / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.005669, allocations: 4.906 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.005692, allocations: 4 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.005712, allocations: 8.766 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.005717, allocations: 3.938 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.005749, allocations: 120.5 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005749, allocations: 0 / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001643/0.005913, allocations: 35.92 kB / 0.7909 GB, free: 8.59 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.006075, allocations: 129.3 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.00617, allocations: 43.59 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006172, allocations: 0 / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.0062, allocations: 35.66 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.006319, allocations: 3.125 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.006604, allocations: 142.1 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.006636, allocations: 68.25 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.006667, allocations: 5.672 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.00669, allocations: 12.5 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.00669, allocations: 1.031 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.002802/0.009493, allocations: 0.9163 MB / 0.7923 GB, free: 7.219 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002525896998122]