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.001311/0.001311, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001414/0.001414, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.188/3.188, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 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.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: 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.002052/0.002052, allocations: 72.33 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3539, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003098/0.3569, allocations: 1.769 MB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3582, allocations: 0.6945 MB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.3583, allocations: 0 / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.3583, allocations: 15.8 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.3584, allocations: 15.81 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.359, allocations: 181.7 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3592, allocations: 131.6 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3593, allocations: 37.55 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3595, allocations: 59.83 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.3596, allocations: 47.77 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.3596, allocations: 8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3597, allocations: 51.91 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3598, allocations: 35.89 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3598, allocations: 47.78 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.36, allocations: 159.4 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3601, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3601, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3601, allocations: 0 / 1.368 GB, free: 10.29 MB / 1.061 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.0006277/0.3607, allocations: 365.7 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3607, allocations: 8.031 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009725/0.3617, allocations: 136.6 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.362, allocations: 150.8 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3621, allocations: 115.4 kB / 1.369 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.3621, allocations: 11.94 kB / 1.369 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.3627, allocations: 228.8 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3627, allocations: 0 / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.3627, allocations: 4 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3627, allocations: 4 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.3633, allocations: 159.8 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3644, allocations: 405.3 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3654, allocations: 218.3 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3657, allocations: 80.91 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3657, allocations: 4 kB / 1.37 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3657, allocations: 38.48 kB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3657, allocations: 0 / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.00103/0.3668, allocations: 261.4 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3668, allocations: 51.41 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.367, allocations: 148.7 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.367, allocations: 25.7 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3671, allocations: 116.2 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3671, allocations: 11.91 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.3671, allocations: 29.64 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3673, allocations: 322.8 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.3676, allocations: 71.92 kB / 1.371 GB, free: 7.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.3679, allocations: 102.4 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.3685, allocations: 158.4 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3685, allocations: 4 kB / 1.371 GB, free: 6.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006699/0.3692, allocations: 213.4 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3692, allocations: 4 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3692, allocations: 0 / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3692, allocations: 4 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.3695, allocations: 35.89 kB / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3695, allocations: 7.984 kB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3696, allocations: 23.91 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3697, allocations: 4 kB / 1.371 GB, free: 6.609 MB / 1.061 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 0.0001087/0.3698, allocations: 122.9 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3698, allocations: 11.89 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.3705, allocations: 202.5 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3705, allocations: 11.98 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3705, allocations: 4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3705, allocations: 4 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3708, allocations: 158 kB / 1.372 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3708, allocations: 0 / 1.372 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.371, allocations: 35.95 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.371, allocations: 3.938 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.371, allocations: 4 kB / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.371, allocations: 0 / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.371, allocations: 4 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.3717, allocations: 279.3 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3717, allocations: 11.89 kB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3717, allocations: 3.938 kB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.372, allocations: 39.94 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.3721, allocations: 4 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3721, allocations: 7.984 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.3722, allocations: 109.3 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3722, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002622/0.3724, allocations: 31.89 kB / 1.372 GB, free: 5.516 MB / 1.061 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.0001355/0.3726, allocations: 91.25 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.3732, allocations: 167.8 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3732, allocations: 0 / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.3735, allocations: 71.92 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3738, allocations: 25.86 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.3745, allocations: 281.4 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.3746, allocations: 93.12 kB / 1.373 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.3747, allocations: 15.42 kB / 1.373 GB, free: 4.727 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3747, allocations: 0 / 1.373 GB, free: 4.727 MB / 1.061 GB Notification: Performance of Templates: time 0.003438/0.3781, allocations: 1.685 MB / 1.375 GB, free: 3.047 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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: 10.872827231884003]