Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.61 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002549/0.346, allocations: 1.484 MB / 1.309 GB, free: 332 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003759/0.3463, allocations: 135.6 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.3464, allocations: 4 kB / 1.309 GB, free: 192 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.3464, allocations: 3.938 kB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.3465, allocations: 11.92 kB / 1.309 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.3467, allocations: 27.91 kB / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.3468, allocations: 43.91 kB / 1.309 GB, free: 104 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3469, allocations: 15.98 kB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.3469, allocations: 15.92 kB / 1.309 GB, free: 72 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.347, allocations: 27.86 kB / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.347, allocations: 4 kB / 1.309 GB, free: 40 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.3471, allocations: 31.97 kB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.3471, allocations: 8 kB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3471, allocations: 23.98 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3473, allocations: 63.8 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3473, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.112e-06/0.3473, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.799e-06/0.3473, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 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.0004358/0.3477, allocations: 290.1 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3477, allocations: 12.92 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.3488, allocations: 216.5 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3489, allocations: 114.4 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3489, allocations: 4.359 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.349, allocations: 4.375 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.3496, allocations: 194 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3496, allocations: 192 / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3496, allocations: 3.938 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.3496, allocations: 4 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.3505, allocations: 283.5 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.3514, allocations: 420.2 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3526, allocations: 282.2 kB / 1.311 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.353, allocations: 96.8 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.353, allocations: 7.984 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.353, allocations: 38.56 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.353, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.001241/0.3543, allocations: 309.3 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3543, allocations: 51.41 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3544, allocations: 117.8 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3544, allocations: 25.7 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.3545, allocations: 92.12 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3545, allocations: 7.906 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3546, allocations: 17.72 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001486/0.3547, allocations: 326.8 kB / 1.312 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3551, allocations: 91.88 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.3555, allocations: 95.88 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.3562, allocations: 176.6 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3562, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008624/0.3571, allocations: 213.5 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3571, allocations: 4.781 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3571, allocations: 7.922 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3571, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3574, allocations: 35.95 kB / 1.313 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3574, allocations: 0 / 1.313 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3576, allocations: 39.84 kB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3576, allocations: 7.969 kB / 1.313 GB, free: 12.21 MB / 1.014 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.875e-05/0.3577, allocations: 121.7 kB / 1.313 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3577, allocations: 4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.3578, allocations: 8 kB / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3578, allocations: 0 / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3578, allocations: 4.312 kB / 1.313 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3578, allocations: 384 / 1.313 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.358, allocations: 184.6 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.358, allocations: 0 / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3583, allocations: 35.89 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3583, allocations: 7.922 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3583, allocations: 4 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3583, allocations: 0 / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3583, allocations: 3.984 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.3592, allocations: 315.2 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3592, allocations: 7.953 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3592, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3594, allocations: 27.95 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3595, allocations: 7.984 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3595, allocations: 0 / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.691e-05/0.3595, allocations: 99.27 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.3595, allocations: 0 / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002357/0.3598, allocations: 15.94 kB / 1.313 GB, free: 11.3 MB / 1.014 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.0001095/0.3599, allocations: 99.98 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0008425/0.3607, allocations: 199.7 kB / 1.314 GB, free: 11 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3607, allocations: 0 / 1.314 GB, free: 11 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.3611, allocations: 95.88 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3614, allocations: 10.34 kB / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009728/0.3623, allocations: 269 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3627, allocations: 0.6807 MB / 1.315 GB, free: 9.906 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.905e-05/0.3628, allocations: 23.98 kB / 1.315 GB, free: 9.883 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.3628, allocations: 11.42 kB / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.3628, allocations: 0 / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of Templates: time 0.003562/0.3664, allocations: 0.9655 MB / 1.316 GB, free: 8.91 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.762205749750137]