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.001653/0.001653, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00206/0.00206, allocations: 215.6 kB / 22.25 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.785 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.235/3.235, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 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.002499/0.002499, allocations: 70.69 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3577, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003459/0.3611, allocations: 1.768 MB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3625, allocations: 0.6857 MB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.3626, allocations: 4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.3627, allocations: 7.875 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.3627, allocations: 23.8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.3634, allocations: 181.4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.3636, allocations: 131.6 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3638, allocations: 41.53 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3639, allocations: 67.72 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.364, allocations: 43.75 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.3641, allocations: 12 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3642, allocations: 51.97 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.3643, allocations: 27.91 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.3643, allocations: 47.78 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3646, allocations: 151.4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3646, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3646, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3646, allocations: 0 / 1.329 GB, free: 14.56 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.0006954/0.3653, allocations: 373.6 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3653, allocations: 8.031 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3664, allocations: 132.6 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3667, allocations: 162.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3668, allocations: 119.4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3669, allocations: 11.94 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.3674, allocations: 222.2 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3674, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3675, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3675, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.3681, allocations: 159.8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.3693, allocations: 401.6 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3706, allocations: 214.3 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.3709, allocations: 76.91 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3709, allocations: 4 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.371, allocations: 30.56 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.371, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001066/0.372, allocations: 273.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3721, allocations: 51.41 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3722, allocations: 139.9 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3723, allocations: 29.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.3724, allocations: 116.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3724, allocations: 19.86 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.3724, allocations: 25.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3726, allocations: 318.8 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3729, allocations: 75.92 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.3732, allocations: 98.44 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.3738, allocations: 162.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3738, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007028/0.3745, allocations: 209.4 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3746, allocations: 4 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3746, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3746, allocations: 4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3749, allocations: 36.02 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3749, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3751, allocations: 31.86 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3751, allocations: 4.297 kB / 1.332 GB, free: 10.88 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.0001288/0.3752, allocations: 121.8 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.3752, allocations: 11.89 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/0.376, allocations: 206.2 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.376, allocations: 0 / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.376, allocations: 4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.376, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3763, allocations: 158.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3763, allocations: 3.938 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3765, allocations: 35.95 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3765, allocations: 3.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3765, allocations: 3.984 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.3765, allocations: 7.938 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3765, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.3772, allocations: 283.3 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3773, allocations: 15.91 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3773, allocations: 3.938 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.3776, allocations: 27.95 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3776, allocations: 7.984 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3777, allocations: 11.97 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.216e-05/0.3777, allocations: 109.1 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3777, allocations: 4 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002705/0.378, allocations: 23.94 kB / 1.333 GB, free: 9.793 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.0001383/0.3782, allocations: 99.22 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006952/0.3788, allocations: 163.8 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3789, allocations: 4.062 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.3792, allocations: 87.84 kB / 1.333 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3795, allocations: 15.88 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.3802, allocations: 247.7 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.3803, allocations: 89.19 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.934e-05/0.3804, allocations: 19.75 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.3805, allocations: 15.42 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3805, allocations: 0 / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of Templates: time 0.005057/0.3855, allocations: 1.64 MB / 1.335 GB, free: 7.398 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: 9.19692087173462]