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.001535/0.001535, allocations: 100.4 kB / 19.7 MB, free: 1.988 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.001714/0.001714, allocations: 213.8 kB / 22.99 MB, free: 4.918 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.483/1.483, 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 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.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002838/0.002838, allocations: 71.67 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4255, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003465/0.4289, allocations: 1.768 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4305, allocations: 0.6858 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.4305, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.4306, allocations: 11.86 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.4307, allocations: 27.67 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.4313, allocations: 192.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.4315, allocations: 123.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.4317, allocations: 37.56 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.4319, allocations: 71.77 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.432, allocations: 47.77 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.432, allocations: 8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.4321, allocations: 51.95 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.4321, allocations: 35.84 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.4322, allocations: 55.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.4324, allocations: 147.4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4325, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4325, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4325, allocations: 0 / 1.33 GB, free: 13.71 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.0006522/0.4331, allocations: 373.6 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4331, allocations: 8.031 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4343, allocations: 132.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.4346, allocations: 160 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.4347, allocations: 111.4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.4348, allocations: 15.94 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.4354, allocations: 220.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4354, allocations: 3.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.4354, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4354, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.4361, allocations: 159.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4372, allocations: 401.6 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4382, allocations: 210.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.4385, allocations: 84.91 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.4385, allocations: 3.984 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4386, allocations: 30.56 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4386, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001039/0.4396, allocations: 265.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.4398, allocations: 55.41 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4399, allocations: 144.5 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.44, allocations: 25.7 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.44, allocations: 120.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4401, allocations: 19.84 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.4401, allocations: 21.72 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002354/0.4404, allocations: 322.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.4408, allocations: 75.92 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4411, allocations: 94.48 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.4417, allocations: 162.4 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4417, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007017/0.4424, allocations: 209.7 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4424, allocations: 4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4424, allocations: 8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4424, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4427, allocations: 35.95 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.4427, allocations: 7.922 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.4429, allocations: 27.86 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4429, allocations: 8 kB / 1.334 GB, free: 10.03 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.0001208/0.443, allocations: 121.8 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.4431, allocations: 11.89 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.4438, allocations: 202.2 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4438, allocations: 8 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4438, allocations: 3.984 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4438, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.4442, allocations: 158 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4442, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4444, allocations: 35.89 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4444, allocations: 3.938 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4445, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4445, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4445, allocations: 4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.4452, allocations: 279.3 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.4452, allocations: 11.91 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.4453, allocations: 11.92 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.4456, allocations: 31.95 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.4456, allocations: 4 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4456, allocations: 7.984 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.4457, allocations: 113.1 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4457, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002639/0.446, allocations: 27.88 kB / 1.335 GB, free: 8.949 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.0001394/0.4461, allocations: 100.4 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006941/0.4468, allocations: 164 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4468, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.4471, allocations: 75.86 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4474, allocations: 20.14 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.4481, allocations: 251.7 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.742e-05/0.4482, allocations: 89.19 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.543e-05/0.4483, allocations: 19.73 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.4484, allocations: 11.44 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4484, allocations: 0 / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of Templates: time 0.00465/0.453, allocations: 1.661 MB / 1.337 GB, free: 6.531 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 -s gbode -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/jenkins1/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.11376819999714]