Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001064/0.001064, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002481, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009743/0.0009743, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002241, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09583/1.156, allocations: 53.63 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.877/1.877, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4892/2.366, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.803e-05, allocations: 3.297 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002126/0.002144, allocations: 1.866 MB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.003019, allocations: 0.7276 MB / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.003078, allocations: 0 / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.003106, allocations: 15.8 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.003151, allocations: 16.95 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.003492, allocations: 183.3 kB / 0.7321 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.003634, allocations: 126 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003745, allocations: 42.84 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.003903, allocations: 95.8 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.003974, allocations: 44.5 kB / 0.7324 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.003995, allocations: 13.78 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.004102, allocations: 55.89 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.004125, allocations: 19.94 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.004155, allocations: 27.94 kB / 0.7325 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004332, allocations: 111.6 kB / 0.7326 GB, free: 1.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.004345, allocations: 0.9688 kB / 0.7326 GB, free: 1.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004346, allocations: 0 / 0.7326 GB, free: 1.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.00436, allocations: 4 kB / 0.7326 GB, free: 1.191 MB / 0.698 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.0003877/0.004748, allocations: 362 kB / 0.7329 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.004781, allocations: 8.031 kB / 0.733 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.005187, allocations: 183 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.005355, allocations: 138.7 kB / 0.7333 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.005418, allocations: 120.2 kB / 0.7334 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.005435, allocations: 4.375 kB / 0.7334 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.005641, allocations: 191.4 kB / 0.7336 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.005647, allocations: 1.781 kB / 0.7336 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.005661, allocations: 7.938 kB / 0.7336 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.005665, allocations: 0 / 0.7336 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.402e-05/0.005719, allocations: 35.98 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.00616, allocations: 285.8 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.006402, allocations: 120 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.006432, allocations: 29.72 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.006451, allocations: 0 / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.006474, allocations: 35.59 kB / 0.7341 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006475, allocations: 0 / 0.7341 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001609/0.006636, allocations: 86.3 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.006661, allocations: 55.41 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.006738, allocations: 150.8 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.006756, allocations: 25.7 kB / 0.7344 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.006797, allocations: 112.2 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.006816, allocations: 11.86 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.006854, allocations: 29.69 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.006929, allocations: 320 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.006953, allocations: 16 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.006991, allocations: 38.55 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.007061, allocations: 68.33 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.007063, allocations: 0 / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.53e-05/0.007159, allocations: 76.11 kB / 0.735 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.007172, allocations: 10.97 kB / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.007177, allocations: 0 / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.007188, allocations: 3.984 kB / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.007302, allocations: 37.09 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007306, allocations: 3.938 kB / 0.7351 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.007356, allocations: 19.92 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007363, allocations: 4.516 kB / 0.7351 GB, free: 14.45 MB / 0.7136 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.02e-05/0.007424, allocations: 110.7 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.007446, allocations: 8 kB / 0.7352 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.007568, allocations: 84.45 kB / 0.7353 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00757, allocations: 4 kB / 0.7353 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.007574, allocations: 3.938 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007578, allocations: 5.922 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.007701, allocations: 105.8 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007702, allocations: 3.938 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.007778, allocations: 27.91 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.007788, allocations: 14.66 kB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.00779, allocations: 0 / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.007798, allocations: 7.984 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0078, allocations: 0 / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007801, allocations: 0 / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.007925, allocations: 167.7 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.00794, allocations: 4 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.008025, allocations: 17.7 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.008054, allocations: 7.984 kB / 0.7356 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.008065, allocations: 7.984 kB / 0.7356 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.008097, allocations: 38.39 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008097, allocations: 0.5625 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001388/0.008236, allocations: 28.69 kB / 0.7357 GB, free: 13.78 MB / 0.7136 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 9.519e-05/0.008331, allocations: 76.91 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.008426, allocations: 51.91 kB / 0.7358 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.008433, allocations: 4 kB / 0.7358 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.008467, allocations: 36.78 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.008624, allocations: 26.64 kB / 0.7359 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.009383, allocations: 223.4 kB / 0.7361 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.009423, allocations: 63.34 kB / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.894e-05/0.009482, allocations: 14.19 kB / 0.7362 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.009619, allocations: 80.05 kB / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.00962, allocations: 0 / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.003482/0.0131, allocations: 1.71 MB / 0.7379 GB, free: 11.52 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.867551048286259]