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.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.00137/0.00137, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001579/0.001579, allocations: 212.5 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.258/3.258, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002318/0.002318, allocations: 69.97 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002894/0.3459, allocations: 1.495 MB / 1.356 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000413/0.3464, allocations: 151.5 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.3464, allocations: 0 / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.3464, allocations: 4 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.3465, allocations: 3.938 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.3467, allocations: 31.91 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3469, allocations: 47.84 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.347, allocations: 11.98 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.347, allocations: 19.92 kB / 1.356 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.3471, allocations: 19.92 kB / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3471, allocations: 4 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3472, allocations: 31.97 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3472, allocations: 8 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3472, allocations: 23.86 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3474, allocations: 67.67 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3474, allocations: 0 / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3474, allocations: 0 / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3474, allocations: 0 / 1.356 GB, free: 6.02 MB / 1.045 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.0005109/0.3479, allocations: 294.1 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.348, allocations: 8.031 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.3491, allocations: 208.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3492, allocations: 118.4 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3492, allocations: 4.375 kB / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3493, allocations: 384 / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.3498, allocations: 202 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3499, allocations: 192 / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3499, allocations: 3.938 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3499, allocations: 3.938 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.3508, allocations: 283.5 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.3518, allocations: 400.5 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3529, allocations: 290.2 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.3533, allocations: 100.7 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3533, allocations: 4 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3533, allocations: 30.56 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3533, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001184/0.3545, allocations: 309.3 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3546, allocations: 59.39 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3547, allocations: 121.7 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3547, allocations: 25.7 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.3548, allocations: 88.14 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3548, allocations: 11.89 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.3548, allocations: 21.72 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.355, allocations: 322.8 kB / 1.359 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3554, allocations: 95.88 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.3557, allocations: 91.88 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.3563, allocations: 168.6 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3563, allocations: 4 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007561/0.3571, allocations: 209.5 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3571, allocations: 4 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3571, allocations: 4 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3571, allocations: 336 / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3574, allocations: 39.88 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3574, allocations: 4 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3576, allocations: 31.89 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3576, allocations: 4 kB / 1.359 GB, free: 2.34 MB / 1.045 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.0001122/0.3577, allocations: 126.4 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3578, allocations: 7.938 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.3578, allocations: 12 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3578, allocations: 0 / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3578, allocations: 4.375 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3578, allocations: 0 / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3581, allocations: 184.7 kB / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3581, allocations: 0 / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3583, allocations: 39.88 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3583, allocations: 0 / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3583, allocations: 4 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3583, allocations: 0 / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3583, allocations: 4 kB / 1.36 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.3591, allocations: 319.1 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.3591, allocations: 4 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3591, allocations: 3.938 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3594, allocations: 31.95 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.3594, allocations: 0 / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3594, allocations: 3.984 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.3595, allocations: 99.27 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3595, allocations: 0 / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002412/0.3597, allocations: 12 kB / 1.36 GB, free: 1.43 MB / 1.045 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.0001324/0.3598, allocations: 99.19 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.3606, allocations: 195.8 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3606, allocations: 3.938 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.361, allocations: 103.9 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3613, allocations: 6.25 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.3622, allocations: 283 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3625, allocations: 0.6885 MB / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.3626, allocations: 11.48 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3626, allocations: 0 / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of Templates: time 0.003096/0.3657, allocations: 1.18 MB / 1.363 GB, free: 14.81 MB / 1.061 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/jenkins1/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: 11.133172775007552]