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.001197/0.001197, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.00135/0.00135, allocations: 221 kB / 23.01 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.75/2.75, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 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.002022/0.002022, allocations: 71.41 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.381, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003313/0.3843, allocations: 1.487 MB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004806/0.3848, allocations: 151.5 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.3849, allocations: 4 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.3849, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.385, allocations: 3.938 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3852, allocations: 27.91 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3854, allocations: 39.91 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3855, allocations: 23.97 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.3856, allocations: 11.94 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.3856, allocations: 23.92 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3856, allocations: 8 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3857, allocations: 35.84 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3858, allocations: 11.94 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.3858, allocations: 23.86 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.386, allocations: 63.8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.386, allocations: 0 / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.386, allocations: 0 / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.386, allocations: 0 / 1.286 GB, free: 9.289 MB / 0.9825 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.0005484/0.3865, allocations: 292 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3866, allocations: 16.03 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.3877, allocations: 208.5 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3878, allocations: 110.5 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.3878, allocations: 384 / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3878, allocations: 4.375 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.3884, allocations: 205.9 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3884, allocations: 192 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3884, allocations: 7.938 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3884, allocations: 3.938 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.3892, allocations: 283.6 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3902, allocations: 400.5 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3913, allocations: 286.1 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.3917, allocations: 100.8 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3917, allocations: 7.984 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3917, allocations: 34.56 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.3917, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001149/0.3929, allocations: 309.3 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3929, allocations: 55.34 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.393, allocations: 117.8 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.393, allocations: 25.7 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.3931, allocations: 96.12 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3931, allocations: 3.953 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3932, allocations: 17.72 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3934, allocations: 322.8 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.3937, allocations: 92.25 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.394, allocations: 99.88 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.3946, allocations: 168.6 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3946, allocations: 0 / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007004/0.3953, allocations: 225.3 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3954, allocations: 4 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3954, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3954, allocations: 4.312 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3956, allocations: 39.95 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3956, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3958, allocations: 31.89 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3958, allocations: 3.984 kB / 1.29 GB, free: 5.598 MB / 0.9825 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.0001127/0.396, allocations: 117.8 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.396, allocations: 7.953 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.396, allocations: 15.98 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3961, allocations: 3.938 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3961, allocations: 3.984 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3961, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3963, allocations: 184.7 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3963, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3965, allocations: 31.95 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3965, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3965, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3965, allocations: 4 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3965, allocations: 3.984 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.3973, allocations: 315.2 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3973, allocations: 11.95 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3973, allocations: 0 / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3976, allocations: 27.95 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3976, allocations: 3.984 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3976, allocations: 0 / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.3977, allocations: 99.27 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3977, allocations: 0 / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002377/0.3979, allocations: 12 kB / 1.291 GB, free: 4.699 MB / 0.9825 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.0001253/0.3981, allocations: 99.19 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007525/0.3988, allocations: 199.7 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3988, allocations: 0 / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.3992, allocations: 100.2 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3994, allocations: 7.938 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.4004, allocations: 291 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4007, allocations: 0.6807 MB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.4008, allocations: 15.42 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4008, allocations: 0 / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.0031/0.4039, allocations: 1.17 MB / 1.293 GB, free: 2.09 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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: 11.097853407001821]