Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001308/0.001308, allocations: 110 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.001434/0.001434, allocations: 186.7 kB / 22.23 MB, free: 5.16 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.45/1.45, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.081/3.081, allocations: 495.7 MB / 0.7831 GB, free: 33.51 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-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.44 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, allocations: 173.6 MB / 1.307 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002883/0.3843, allocations: 1.486 MB / 1.308 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000437/0.3847, allocations: 143.5 kB / 1.309 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3848, allocations: 0 / 1.309 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.3848, allocations: 7.938 kB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.3849, allocations: 7.938 kB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3851, allocations: 35.89 kB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3852, allocations: 35.92 kB / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3853, allocations: 15.98 kB / 1.309 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.3854, allocations: 15.92 kB / 1.309 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.3854, allocations: 27.86 kB / 1.309 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3854, allocations: 4 kB / 1.309 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.3855, allocations: 27.98 kB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.3856, allocations: 19.97 kB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.3856, allocations: 19.88 kB / 1.309 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3858, allocations: 63.78 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3858, allocations: 0 / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3858, allocations: 0 / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3858, allocations: 0 / 1.309 GB, free: 15.97 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.0005184/0.3863, allocations: 286.1 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3864, allocations: 12.03 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3875, allocations: 216.5 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3877, allocations: 106.5 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3877, allocations: 384 / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3877, allocations: 8.312 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.3884, allocations: 198 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3884, allocations: 192 / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3884, allocations: 3.938 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3884, allocations: 4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.3893, allocations: 275.6 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3903, allocations: 424.1 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3915, allocations: 282.2 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.3919, allocations: 100.8 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3919, allocations: 12.05 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.392, allocations: 34.56 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.392, allocations: 0 / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.00127/0.3932, allocations: 309.3 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3933, allocations: 51.41 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3934, allocations: 125.8 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3934, allocations: 25.7 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.3935, allocations: 88.14 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3935, allocations: 7.906 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.3936, allocations: 21.7 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3937, allocations: 322.8 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.3941, allocations: 91.88 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3945, allocations: 95.86 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.3952, allocations: 172.6 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3952, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007991/0.396, allocations: 217.4 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.396, allocations: 4 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.396, allocations: 3.938 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.396, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3963, allocations: 39.94 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3963, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3965, allocations: 39.84 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3966, allocations: 0 / 1.312 GB, free: 12.28 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 0.0001132/0.3967, allocations: 126.5 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3967, allocations: 4 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3968, allocations: 4 kB / 1.312 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3968, allocations: 4 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3968, allocations: 0 / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3968, allocations: 4 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.397, allocations: 180.6 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.397, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3973, allocations: 39.94 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3973, allocations: 3.938 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3973, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3973, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3973, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.3982, allocations: 315.2 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.3982, allocations: 7.953 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3982, allocations: 3.984 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3984, allocations: 27.95 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3985, allocations: 4 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3985, allocations: 0 / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.438e-05/0.3986, allocations: 103.6 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3986, allocations: 0 / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002356/0.3988, allocations: 12 kB / 1.313 GB, free: 11.38 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.0001441/0.3989, allocations: 107.5 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008377/0.3998, allocations: 195.8 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3998, allocations: 0 / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.4002, allocations: 104 kB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4004, allocations: 4.094 kB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4015, allocations: 261.2 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4018, allocations: 0.6885 MB / 1.314 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.4019, allocations: 19.98 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.402, allocations: 19.38 kB / 1.314 GB, free: 9.934 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.402, allocations: 0 / 1.314 GB, free: 9.934 MB / 1.014 GB Notification: Performance of Templates: time 0.003728/0.4057, allocations: 0.957 MB / 1.315 GB, free: 8.98 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.740005536004901]