Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001127/0.001127, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002679, 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002533, 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.9568/0.9568, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2593/2.637, allocations: 146 MB / 0.8176 GB, free: 3.797 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.989e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002131/0.002151, allocations: 1.866 MB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.002972, allocations: 0.7281 MB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.003025, allocations: 0 / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.003054, allocations: 15.69 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.003094, allocations: 19.8 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.003421, allocations: 179.5 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003559, allocations: 127.6 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003668, allocations: 42.19 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.003833, allocations: 99.78 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.003901, allocations: 35.89 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.003925, allocations: 15.94 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.004035, allocations: 55.89 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.004063, allocations: 19.94 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.004089, allocations: 23.94 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.004262, allocations: 119.6 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.004274, allocations: 0 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004275, allocations: 0 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.004287, allocations: 0 / 0.8222 GB, free: 15.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004285/0.004716, allocations: 363.9 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004747, allocations: 12.03 kB / 0.8226 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.005179, allocations: 189.9 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005345, allocations: 140.4 kB / 0.8229 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.005405, allocations: 111.4 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.005426, allocations: 12.38 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.005635, allocations: 190 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005643, allocations: 0 / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.005657, allocations: 8 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005662, allocations: 0 / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.005715, allocations: 42.27 kB / 0.8232 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.006139, allocations: 275.9 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.006377, allocations: 114.5 kB / 0.8236 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.006405, allocations: 24.84 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.006422, allocations: 7.938 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.006443, allocations: 34.69 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006444, allocations: 4 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001599/0.006604, allocations: 85.8 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.006626, allocations: 55.41 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.006702, allocations: 153 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.006717, allocations: 25.7 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.006756, allocations: 104.2 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.006776, allocations: 23.84 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.006812, allocations: 25.7 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.006884, allocations: 318.8 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.00691, allocations: 16.06 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.006948, allocations: 42.55 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.007015, allocations: 54.5 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.007019, allocations: 4 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001369/0.007156, allocations: 77.61 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.00717, allocations: 8 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007175, allocations: 0 / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007187, allocations: 3.984 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.007303, allocations: 32.03 kB / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007309, allocations: 7.938 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.007361, allocations: 19.86 kB / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.007371, allocations: 7.984 kB / 0.8247 GB, free: 12.33 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 6.05e-05/0.007431, allocations: 109.8 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.007451, allocations: 4 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.007575, allocations: 90.41 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007578, allocations: 8 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.00758, allocations: 3.938 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.007582, allocations: 0 / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.007699, allocations: 105.8 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0077, allocations: 0 / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.007778, allocations: 27.91 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007789, allocations: 11.91 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.00779, allocations: 0 / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.007798, allocations: 3.984 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.0078, allocations: 4.281 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007802, allocations: 11.94 kB / 0.825 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.007921, allocations: 171.5 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.007933, allocations: 0 / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.008024, allocations: 15.98 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.008057, allocations: 3.984 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.00807, allocations: 11.98 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.008096, allocations: 24.78 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008096, allocations: 0 / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001333/0.008229, allocations: 23.94 kB / 0.8253 GB, free: 11.66 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 (6): * Single equations (assignments): 6 * 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.0001092/0.008338, allocations: 96.33 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.008443, allocations: 52.83 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.008449, allocations: 0 / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.008493, allocations: 40.78 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.008675, allocations: 87.17 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.009422, allocations: 229 kB / 0.8258 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.009459, allocations: 63.34 kB / 0.8258 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.437e-05/0.009513, allocations: 15.98 kB / 0.8258 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.009648, allocations: 79.31 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.009649, allocations: 0 / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.002934/0.01258, allocations: 1.711 MB / 0.8276 GB, free: 9.238 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.255415176972747]