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.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.002053/0.002053, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002654/0.002654, allocations: 188 kB / 22.23 MB, free: 5.164 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13 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.846/2.846, allocations: 476.7 MB / 0.7646 GB, free: 9.836 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.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_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 0.002139/0.002139, allocations: 71.88 kB / 1.11 GB, free: 6.301 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8022, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002657/0.8048, allocations: 1.473 MB / 1.276 GB, free: 2.727 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.000432/0.8053, allocations: 151.6 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.8053, allocations: 4 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.8053, allocations: 3.938 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.8054, allocations: 7.938 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.8056, allocations: 27.91 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001082/0.8057, allocations: 43.84 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.8058, allocations: 11.98 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.8059, allocations: 19.92 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.8059, allocations: 23.92 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.806, allocations: 7.938 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.806, allocations: 31.97 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.8061, allocations: 8 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.8061, allocations: 19.88 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.8062, allocations: 70.11 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8062, allocations: 4 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.8062, allocations: 0 / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 9.658e-06/0.8063, allocations: 0 / 1.276 GB, free: 2.305 MB / 0.9669 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.000461/0.8067, allocations: 282.2 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.8067, allocations: 8.031 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.8079, allocations: 216.5 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.808, allocations: 118.4 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.808, allocations: 384 / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.8081, allocations: 8.375 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.8087, allocations: 194 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8087, allocations: 192 / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.8087, allocations: 7.938 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8087, allocations: 4 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.8096, allocations: 283.6 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.8106, allocations: 408.4 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.8118, allocations: 282.2 kB / 1.278 GB, free: 424 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.8122, allocations: 104.8 kB / 1.278 GB, free: 316 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8122, allocations: 0 / 1.278 GB, free: 316 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.8123, allocations: 34.56 kB / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.8123, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.001287/0.8135, allocations: 309.3 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.8136, allocations: 55.39 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.8137, allocations: 117.8 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.8137, allocations: 29.64 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.8138, allocations: 88.14 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.8138, allocations: 15.83 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.8139, allocations: 21.72 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001384/0.814, allocations: 315.2 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.8144, allocations: 99.86 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.8148, allocations: 95.88 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.8156, allocations: 176.8 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8156, allocations: 3.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008141/0.8164, allocations: 217.5 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8164, allocations: 4 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8164, allocations: 0 / 1.28 GB, free: 14.69 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8164, allocations: 0 / 1.28 GB, free: 14.69 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.8167, allocations: 35.94 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.8167, allocations: 4 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.8169, allocations: 31.91 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8169, allocations: 0 / 1.28 GB, free: 14.62 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.000109/0.817, allocations: 121.8 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.8171, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.8171, allocations: 11.94 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8171, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.8171, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8171, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.8173, allocations: 184.7 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8173, allocations: 0 / 1.28 GB, free: 14.24 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.8176, allocations: 31.94 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8176, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.8176, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8176, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8176, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/0.8185, allocations: 315.2 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.8185, allocations: 7.938 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.8185, allocations: 4 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.8188, allocations: 27.95 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.8188, allocations: 11.94 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.8188, allocations: 7.984 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.988e-05/0.8189, allocations: 95.2 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8189, allocations: 4 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002369/0.8191, allocations: 12 kB / 1.28 GB, free: 13.71 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.0001084/0.8192, allocations: 99.19 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0008427/0.8201, allocations: 191.8 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8201, allocations: 288 / 1.281 GB, free: 13.42 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.8205, allocations: 103.9 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.8207, allocations: 10.28 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.8217, allocations: 253.2 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.822, allocations: 0.6963 MB / 1.282 GB, free: 12.31 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.966e-05/0.8221, allocations: 15.98 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.8222, allocations: 15.44 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/0.8222, allocations: 0 / 1.282 GB, free: 12.28 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003457/0.8256, allocations: 0.95 MB / 1.283 GB, free: 11.34 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/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: 8.815935103222728]