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.001904/0.001904, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00196/0.00196, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 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 1.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.915/2.915, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 2.064e-06/2.064e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.325e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001679/0.001713, allocations: 0.597 MB / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000404/0.002116, allocations: 148.1 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.002142, allocations: 0.5625 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.002156, allocations: 3.938 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.002182, allocations: 0.7812 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.002482, allocations: 41.33 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.00254, allocations: 19.97 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.002577, allocations: 0 / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.00262, allocations: 11.98 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.002688, allocations: 9.406 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.002703, allocations: 0 / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.002793, allocations: 35.94 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.002809, allocations: 4 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.002829, allocations: 7.25 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00295, allocations: 39.81 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002953, allocations: 4 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002954, allocations: 0 / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.002958, allocations: 0 / 0.7873 GB, free: 11.82 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.0005131/0.003471, allocations: 352.4 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.003512, allocations: 8.031 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.003562, allocations: 8.922 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.003687, allocations: 113.5 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.0037, allocations: 384 / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.003731, allocations: 12.31 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.00387, allocations: 68.55 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.00388, allocations: 192 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.003889, allocations: 1.719 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003893, allocations: 384 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.003955, allocations: 23.86 kB / 0.7879 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.004178, allocations: 126 kB / 0.788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.004294, allocations: 47.05 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.00434, allocations: 23.8 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/0.004417, allocations: 5.531 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.004455, allocations: 33.39 kB / 0.7881 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.004456, allocations: 0 / 0.7881 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001381/0.005837, allocations: 431.9 kB / 0.7885 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.005884, allocations: 55.34 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.005998, allocations: 157.9 kB / 0.7887 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.00602, allocations: 25.7 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.006096, allocations: 127.4 kB / 0.7889 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.006131, allocations: 19.86 kB / 0.7889 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.006183, allocations: 28.08 kB / 0.7889 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003703/0.006553, allocations: 0.4884 MB / 0.7894 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.006582, allocations: 9.5 kB / 0.7894 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.006612, allocations: 15.98 kB / 0.7894 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.006691, allocations: 39.84 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006692, allocations: 0 / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.006832, allocations: 82.69 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.006852, allocations: 8.953 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006856, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.006869, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.00695, allocations: 12.75 kB / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.00696, allocations: 7.938 kB / 0.7896 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.006983, allocations: 0.5938 kB / 0.7896 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.006993, allocations: 5.062 kB / 0.7896 GB, free: 9.27 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 0.0001289/0.007122, allocations: 168.4 kB / 0.7897 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.007137, allocations: 4 kB / 0.7897 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.00732, allocations: 86.45 kB / 0.7898 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007322, allocations: 0.8438 kB / 0.7898 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.007332, allocations: 7.938 kB / 0.7898 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007335, allocations: 2.125 kB / 0.7898 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.007461, allocations: 112.6 kB / 0.7899 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007463, allocations: 0 / 0.7899 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.00755, allocations: 19.92 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007552, allocations: 0 / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.007562, allocations: 8 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007563, allocations: 0.5 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007564, allocations: 2.594 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.0078, allocations: 136.9 kB / 0.7901 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.007809, allocations: 4 kB / 0.7901 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.007823, allocations: 0 / 0.7901 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.007867, allocations: 3.984 kB / 0.7901 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.007888, allocations: 4 kB / 0.7901 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.007902, allocations: 11.94 kB / 0.7901 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.007971, allocations: 120.9 kB / 0.7902 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007971, allocations: 0 / 0.7902 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002282/0.008199, allocations: 35.86 kB / 0.7903 GB, free: 8.492 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.0002349/0.008434, allocations: 131.7 kB / 0.7904 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.008566, allocations: 44.22 kB / 0.7904 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008568, allocations: 0.7812 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/0.00862, allocations: 35.61 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.008766, allocations: 8.562 kB / 0.7905 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.009135, allocations: 143.3 kB / 0.7906 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.009203, allocations: 67.28 kB / 0.7907 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.009237, allocations: 6.109 kB / 0.7907 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.009266, allocations: 16.28 kB / 0.7907 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.009266, allocations: 0 / 0.7907 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.004011/0.01328, allocations: 0.9078 MB / 0.7916 GB, free: 7.105 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.909486654098146]