Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001857/0.002968, 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.001017/0.001017, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002433, 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.9886/0.9886, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08803/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.442/2.442, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2542/2.696, allocations: 146 MB / 0.8176 GB, free: 3.809 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.474e-05, allocations: 8.844 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002062/0.002087, allocations: 1.569 MB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.002852, allocations: 0.6153 MB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.002905, allocations: 0 / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.002931, allocations: 7.922 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.00296, allocations: 3.938 kB / 0.8211 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.003146, allocations: 55.81 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.003241, allocations: 27.88 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.003328, allocations: 7.984 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.003488, allocations: 35.83 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.003547, allocations: 15.92 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.003562, allocations: 0 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.003692, allocations: 55.94 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003708, allocations: 8 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.003726, allocations: 7.938 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.003888, allocations: 63.78 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.003904, allocations: 4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.933e-06/0.003906, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.003922, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004123/0.004335, allocations: 260.4 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004372, allocations: 12.03 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.007041, allocations: 1.063 MB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.007222, allocations: 125.6 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.007233, allocations: 4.375 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.007258, allocations: 384 / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.00792, allocations: 338.5 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.00793, allocations: 4.188 kB / 0.8231 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.007949, allocations: 4.312 kB / 0.8231 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.007956, allocations: 3.938 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.008111, allocations: 63.97 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.009386, allocations: 0.5936 MB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.01001, allocations: 290.4 kB / 0.824 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.0101, allocations: 40.92 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01012, allocations: 3.984 kB / 0.8241 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01014, allocations: 34.5 kB / 0.8241 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.01014, allocations: 0 / 0.8241 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.01048, allocations: 125.6 kB / 0.8242 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.01051, allocations: 51.41 kB / 0.8243 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.01057, allocations: 122.8 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.01059, allocations: 25.7 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.01062, allocations: 84.14 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.01065, allocations: 3.953 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.01072, allocations: 21.69 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.0108, allocations: 318.8 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.01089, allocations: 31.98 kB / 0.8249 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.01097, allocations: 35.88 kB / 0.8249 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.0111, allocations: 48.89 kB / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0111, allocations: 0 / 0.8249 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.01131, allocations: 81.67 kB / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.01133, allocations: 11.98 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01134, allocations: 0 / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01136, allocations: 3.938 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.01196, allocations: 207.8 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01196, allocations: 3.984 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.01262, allocations: 183.8 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.01264, allocations: 3.984 kB / 0.8254 GB, free: 11.64 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 (2): * Single equations (assignments): 2 * 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.0001033/0.01275, allocations: 109.8 kB / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.01279, allocations: 7.984 kB / 0.8255 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.01284, allocations: 15.62 kB / 0.8255 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01285, allocations: 3.938 kB / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01285, allocations: 0 / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01286, allocations: 0 / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.01304, allocations: 121.8 kB / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01304, allocations: 8 kB / 0.8257 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.01367, allocations: 203.8 kB / 0.8259 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.01368, allocations: 3.984 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01368, allocations: 7.984 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.0137, allocations: 3.984 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01371, allocations: 3.938 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01371, allocations: 0 / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01397, allocations: 179.5 kB / 0.826 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.014, allocations: 7.938 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.01446, allocations: 183.8 kB / 0.8262 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.0145, allocations: 7.938 kB / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01451, allocations: 3.984 kB / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.01455, allocations: 20.83 kB / 0.8263 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01455, allocations: 0 / 0.8263 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001795/0.01473, allocations: 36 kB / 0.8263 GB, free: 10.68 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 (2): * Single equations (assignments): 2 * 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.00014/0.01487, allocations: 76.42 kB / 0.8264 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.01511, allocations: 84.75 kB / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.01512, allocations: 0 / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01523, allocations: 56.92 kB / 0.8265 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.0154, allocations: 29.36 kB / 0.8265 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.01616, allocations: 164.5 kB / 0.8267 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.0162, allocations: 59.22 kB / 0.8267 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.01635, allocations: 39.98 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.01653, allocations: 59.34 kB / 0.8268 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of SimCode: time 1.312e-06/0.01654, allocations: 0 / 0.8268 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of Templates: time 0.003915/0.02045, allocations: 2.817 MB / 0.8296 GB, free: 7.23 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.234110030345619]