Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.002333/0.002333, allocations: 79.7 kB / 20.23 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.002725/0.002725, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.869/2.869, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.411e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003841/0.003865, allocations: 1.489 MB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.004399, allocations: 144.1 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.004434, allocations: 0.9062 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.022e-05/0.004504, allocations: 3.938 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.004568, allocations: 0.5 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.004832, allocations: 33.14 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.004957, allocations: 47.84 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005074, allocations: 8 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.005161, allocations: 33.39 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.005218, allocations: 15.98 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.005241, allocations: 4 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.005357, allocations: 27.92 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.0054, allocations: 17.14 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.005436, allocations: 11.98 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.005643, allocations: 71.72 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.005651, allocations: 4.625 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005652, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.005656, allocations: 1.406 kB / 0.7883 GB, free: 10.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006453/0.006301, allocations: 380.2 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.006346, allocations: 8.031 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.007671, allocations: 154.4 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.007832, allocations: 117.1 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.007853, allocations: 8.375 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.007873, allocations: 1.531 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.008519, allocations: 161.2 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.008534, allocations: 4.125 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.008553, allocations: 384 / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.008558, allocations: 384 / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.009515, allocations: 207.7 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.0107, allocations: 394.9 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.01186, allocations: 216 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.01225, allocations: 77.28 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.01228, allocations: 11.92 kB / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.01232, allocations: 33.39 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.01233, allocations: 1.688 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.001298/0.01362, allocations: 231 kB / 0.7902 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.01368, allocations: 51.41 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01387, allocations: 174.4 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.01391, allocations: 34.23 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01403, allocations: 130.8 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.01407, allocations: 17.11 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.01417, allocations: 23.36 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003528/0.01452, allocations: 0.4884 MB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.01491, allocations: 69.83 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.01528, allocations: 71.91 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.01593, allocations: 121.7 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01593, allocations: 0 / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008272/0.01676, allocations: 167.2 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01678, allocations: 4 kB / 0.7915 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01678, allocations: 4.75 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.0168, allocations: 4 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.01708, allocations: 20.91 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01708, allocations: 1.344 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.0173, allocations: 19.97 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.01732, allocations: 8 kB / 0.7915 GB, free: 7.344 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 (3): * Single equations (assignments): 3 * 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.000178/0.0175, allocations: 161.4 kB / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.01756, allocations: 3.938 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.01762, allocations: 14.19 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01762, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01762, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01762, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.01797, allocations: 148.6 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01797, allocations: 0.5312 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.01823, allocations: 31.41 kB / 0.7919 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.01824, allocations: 3.938 kB / 0.7919 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01825, allocations: 0 / 0.7919 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01825, allocations: 0 / 0.7919 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01826, allocations: 0 / 0.7919 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.0192, allocations: 320.1 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.01921, allocations: 0 / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.01924, allocations: 4.438 kB / 0.7922 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.01951, allocations: 16.5 kB / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.01955, allocations: 4.562 kB / 0.7922 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01957, allocations: 5.438 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001161/0.01969, allocations: 131.2 kB / 0.7923 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01969, allocations: 0 / 0.7923 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004352/0.02012, allocations: 16 kB / 0.7923 GB, free: 6.445 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001541/0.02028, allocations: 92.5 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008655/0.02114, allocations: 154.4 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02114, allocations: 0 / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.02155, allocations: 79.61 kB / 0.7927 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.02195, allocations: 19.02 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02301, allocations: 222.3 kB / 0.7929 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.02313, allocations: 75.33 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.02324, allocations: 11.11 kB / 0.793 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.02332, allocations: 12.5 kB / 0.793 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of SimCode: time 5.2e-07/0.02332, allocations: 1.062 kB / 0.793 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.005262/0.02859, allocations: 0.9787 MB / 0.7939 GB, free: 4.781 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.818234242033213]