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.0009485/0.0009485, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.00238, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008919/0.0008919, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003745/0.004637, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9829/0.9829, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08945/1.072, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.476/2.476, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2498/2.726, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+..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.[0-9,]+..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.112e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001934/0.001955, allocations: 1.571 MB / 0.8205 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.002191, allocations: 143.5 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.002223, allocations: 0 / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.002259, allocations: 0 / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.002308, allocations: 11.88 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.002418, allocations: 31.84 kB / 0.8207 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.002509, allocations: 47.84 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.002619, allocations: 11.98 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.002695, allocations: 27.92 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.002745, allocations: 19.97 kB / 0.8208 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.00276, allocations: 0 / 0.8208 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.002854, allocations: 35.97 kB / 0.8208 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.002873, allocations: 11.94 kB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.002892, allocations: 12 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.003009, allocations: 43.84 kB / 0.8209 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.003023, allocations: 0 / 0.8209 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003024, allocations: 0 / 0.8209 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.003038, allocations: 0 / 0.8209 GB, free: 0.5195 MB / 0.7917 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.00043/0.003468, allocations: 276.3 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.003508, allocations: 8.031 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.003912, allocations: 157.9 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.004015, allocations: 113.7 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004026, allocations: 4.375 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.004043, allocations: 4.375 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004233, allocations: 114.8 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00424, allocations: 192 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.00425, allocations: 4.375 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004256, allocations: 4.375 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.004303, allocations: 23.94 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.004654, allocations: 208.2 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.004835, allocations: 78.45 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.004862, allocations: 12.86 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.004879, allocations: 7.938 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.004898, allocations: 34.55 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004899, allocations: 0 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001404/0.00504, allocations: 53.62 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.005067, allocations: 55.34 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.005122, allocations: 114.8 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.005136, allocations: 29.7 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.005166, allocations: 88.06 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.005188, allocations: 11.91 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.005221, allocations: 17.7 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.005301, allocations: 318.8 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.005325, allocations: 7.984 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.005347, allocations: 8 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.005398, allocations: 24.84 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.005402, allocations: 4 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.995e-05/0.005482, allocations: 49.62 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005495, allocations: 7.938 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.0055, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.005512, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.005622, allocations: 27.97 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005624, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.005669, allocations: 11.98 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.005676, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.8073 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 5.52e-05/0.005731, allocations: 109.8 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.00575, allocations: 4 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.005783, allocations: 11.94 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005785, allocations: 4 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.005787, allocations: 4 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00579, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.005893, allocations: 81.86 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005893, allocations: 0 / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.005963, allocations: 19.97 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.005971, allocations: 4.328 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005973, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.005981, allocations: 3.938 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005982, allocations: 3.938 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005983, allocations: 4 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.006106, allocations: 155.5 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006118, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.006178, allocations: 11.98 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.006204, allocations: 3.938 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.006209, allocations: 3.984 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.006225, allocations: 12.86 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006225, allocations: 0 / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001333/0.006358, allocations: 23.89 kB / 0.8231 GB, free: 13.99 MB / 0.8073 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 8.617e-05/0.006444, allocations: 76.42 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.006528, allocations: 24.84 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.006534, allocations: 4 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.006573, allocations: 20.78 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.006729, allocations: 41.62 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.00717, allocations: 164.5 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.007203, allocations: 67.2 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.00724, allocations: 4 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.007316, allocations: 51.38 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of SimCode: time 5.82e-07/0.007316, allocations: 4 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.002353/0.009669, allocations: 0.9702 MB / 0.8245 GB, free: 12.51 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.22604675590992]