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.001772/0.001772, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002274/0.002274, allocations: 159.7 kB / 23.01 MB, free: 4.594 MB / 14.72 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.67/2.67, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 71.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2892, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002808/0.292, allocations: 1.481 MB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.2924, allocations: 139.6 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.2924, allocations: 0 / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.2925, allocations: 0 / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.2925, allocations: 3.938 kB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2928, allocations: 39.89 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2929, allocations: 43.84 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.293, allocations: 12 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.293, allocations: 19.92 kB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.2931, allocations: 27.86 kB / 1.119 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2931, allocations: 4 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.2932, allocations: 31.95 kB / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.2932, allocations: 7.938 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.2932, allocations: 19.92 kB / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2934, allocations: 63.8 kB / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2934, allocations: 4 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2934, allocations: 0 / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2934, allocations: 3.938 kB / 1.119 GB, free: 0.6094 MB / 1.061 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.0004566/0.2938, allocations: 286.2 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2939, allocations: 15.97 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.295, allocations: 208.6 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2952, allocations: 118.4 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2952, allocations: 4.359 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2952, allocations: 8.375 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.2958, allocations: 193.9 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2958, allocations: 192 / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2958, allocations: 3.938 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2958, allocations: 8 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009221/0.2967, allocations: 275.6 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.2977, allocations: 373.1 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.2989, allocations: 290.1 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.2993, allocations: 100.8 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2993, allocations: 0 / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2993, allocations: 30.56 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2993, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.00127/0.3006, allocations: 313.3 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3006, allocations: 51.41 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.3007, allocations: 109.8 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3007, allocations: 25.7 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3008, allocations: 96.08 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3008, allocations: 7.891 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3009, allocations: 21.72 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.301, allocations: 318.8 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.3014, allocations: 91.88 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3018, allocations: 95.88 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.3025, allocations: 172.6 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3025, allocations: 3.938 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007932/0.3033, allocations: 221.3 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3033, allocations: 10.81 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3033, allocations: 0 / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3033, allocations: 3.984 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3036, allocations: 27.95 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3036, allocations: 4 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3038, allocations: 31.95 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3038, allocations: 11.98 kB / 1.123 GB, free: 12.98 MB / 1.076 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 9.158e-05/0.3039, allocations: 113.8 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.304, allocations: 0 / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.304, allocations: 12 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.304, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.304, allocations: 336 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.304, allocations: 3.984 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3042, allocations: 153.1 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3042, allocations: 0 / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3044, allocations: 35.95 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3045, allocations: 3.984 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3045, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3045, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3045, allocations: 3.984 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.3053, allocations: 315.2 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.3053, allocations: 4 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3054, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3056, allocations: 27.95 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3056, allocations: 7.984 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3056, allocations: 0 / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.3057, allocations: 83.28 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3057, allocations: 0 / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002496/0.3059, allocations: 23.95 kB / 1.123 GB, free: 12.15 MB / 1.076 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.000111/0.306, allocations: 95.23 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.3069, allocations: 195.7 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3069, allocations: 4 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.3073, allocations: 103.8 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3075, allocations: 7.938 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.3085, allocations: 257.4 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.3086, allocations: 71.33 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.654e-05/0.3087, allocations: 19.98 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3087, allocations: 8.5 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.3087, allocations: 0 / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of Templates: time 0.003422/0.3121, allocations: 0.9676 MB / 1.125 GB, free: 10.38 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 8.02925319201313]