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.0015/0.0015, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001673/0.001673, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002007/0.002007, allocations: 74.28 kB / 1.149 GB, free: 25.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 176.1 MB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003048/0.3527, allocations: 1.803 MB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.354, allocations: 0.7363 MB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.3541, allocations: 4 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.3541, allocations: 15.8 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.3542, allocations: 11.81 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.3548, allocations: 192.2 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.355, allocations: 123.6 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3551, allocations: 41.42 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3552, allocations: 63.77 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.3553, allocations: 51.75 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.3554, allocations: 16 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3555, allocations: 47.97 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.3555, allocations: 31.89 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.3556, allocations: 55.67 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3558, allocations: 159.3 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3558, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3558, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3558, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 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.0006823/0.3565, allocations: 454.8 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3566, allocations: 11.98 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3576, allocations: 124.7 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3579, allocations: 208.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.358, allocations: 71.95 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.358, allocations: 15.88 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.3586, allocations: 167.6 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3586, allocations: 0 / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3587, allocations: 11.97 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3587, allocations: 7.938 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.3593, allocations: 151.8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3605, allocations: 493.9 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.3616, allocations: 210.3 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.362, allocations: 84.84 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.362, allocations: 0 / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.362, allocations: 42.48 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.362, allocations: 4 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001152/0.3632, allocations: 257.4 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3632, allocations: 55.41 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3634, allocations: 152.6 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3634, allocations: 25.7 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3636, allocations: 104.3 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3636, allocations: 27.73 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.3637, allocations: 25.7 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3638, allocations: 318.8 kB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.3641, allocations: 83.86 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3645, allocations: 94.48 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/0.3651, allocations: 162.4 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3651, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007599/0.3659, allocations: 205.4 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3659, allocations: 8 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3659, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3659, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3662, allocations: 39.89 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3662, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.3665, allocations: 35.97 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.3665, allocations: 4 kB / 1.328 GB, free: 11.48 MB / 1.029 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.0001512/0.3666, allocations: 117.8 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.3667, allocations: 11.89 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008268/0.3675, allocations: 210.2 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3675, allocations: 0 / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3675, allocations: 0 / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3675, allocations: 3.984 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.3679, allocations: 242.1 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3679, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.3681, allocations: 36.33 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3681, allocations: 3.984 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3681, allocations: 8 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3681, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3681, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.3689, allocations: 295.2 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.369, allocations: 85 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.369, allocations: 8 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3693, allocations: 27.95 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3694, allocations: 7.984 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3694, allocations: 3.984 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3695, allocations: 122.2 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3695, allocations: 0 / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002769/0.3698, allocations: 20 kB / 1.329 GB, free: 10.21 MB / 1.029 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.0001596/0.3699, allocations: 95.25 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007659/0.3707, allocations: 167.8 kB / 1.329 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3707, allocations: 0 / 1.329 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.371, allocations: 79.91 kB / 1.329 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3713, allocations: 11.88 kB / 1.329 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.3721, allocations: 267.5 kB / 1.33 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3725, allocations: 0.7002 MB / 1.33 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.3726, allocations: 23.73 kB / 1.33 GB, free: 8.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.3726, allocations: 15.42 kB / 1.33 GB, free: 8.797 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3726, allocations: 0 / 1.33 GB, free: 8.797 MB / 1.029 GB Notification: Performance of Templates: time 0.004501/0.3771, allocations: 1.49 MB / 1.332 GB, free: 7.316 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.823043555021286]