Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 160.7 MB / 1.214 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003386/0.3597, allocations: 1.781 MB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.361, allocations: 0.6717 MB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.3611, allocations: 4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.3611, allocations: 11.81 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.3612, allocations: 15.8 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.3618, allocations: 167.5 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.362, allocations: 123.7 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3621, allocations: 37.09 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3623, allocations: 59.83 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.3624, allocations: 55.7 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3624, allocations: 11.98 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3625, allocations: 43.97 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.3626, allocations: 27.92 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.3626, allocations: 55.7 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.3629, allocations: 155.3 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3629, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3629, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3629, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 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.0008555/0.3638, allocations: 450.8 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3638, allocations: 8.031 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.3647, allocations: 104.7 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3649, allocations: 184.2 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.365, allocations: 71.89 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.365, allocations: 12.38 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.3656, allocations: 169.6 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3656, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.3656, allocations: 4 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3656, allocations: 4 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.3663, allocations: 163.7 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3675, allocations: 489.6 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3685, allocations: 210.3 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3689, allocations: 84.84 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3689, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3689, allocations: 38.55 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.3689, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001108/0.37, allocations: 257.4 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3701, allocations: 55.41 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3702, allocations: 140 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3702, allocations: 29.7 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.3703, allocations: 112.2 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.3704, allocations: 23.84 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.3704, allocations: 25.64 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3706, allocations: 326.8 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.3709, allocations: 76.11 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3713, allocations: 94.48 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.3719, allocations: 162.4 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3719, allocations: 4 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007117/0.3726, allocations: 201.4 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3726, allocations: 4 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3727, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3727, allocations: 11.88 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.373, allocations: 35.95 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.373, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3732, allocations: 31.95 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3732, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 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.000122/0.3733, allocations: 121.8 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.3733, allocations: 11.91 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.3741, allocations: 206.1 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3741, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3741, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3741, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3744, allocations: 230.4 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3744, allocations: 0 / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3747, allocations: 39.89 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3747, allocations: 0 / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3747, allocations: 7.938 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3747, allocations: 3.984 kB / 1.221 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3747, allocations: 0 / 1.221 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.3754, allocations: 291.4 kB / 1.221 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3755, allocations: 85.05 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3755, allocations: 7.938 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.3758, allocations: 27.95 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.3759, allocations: 4 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.3759, allocations: 7.984 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.323e-05/0.376, allocations: 113.1 kB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002681/0.3762, allocations: 27.89 kB / 1.222 GB, free: 8.75 MB / 0.9669 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.0001473/0.3764, allocations: 95.25 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007147/0.3771, allocations: 167.8 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3771, allocations: 0 / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3775, allocations: 79.92 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3779, allocations: 13.8 kB / 1.222 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.3786, allocations: 285.1 kB / 1.222 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3789, allocations: 0.7002 MB / 1.223 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.379, allocations: 19.42 kB / 1.223 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.379, allocations: 0 / 1.223 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.003625/0.3826, allocations: 1.604 MB / 1.225 GB, free: 5.734 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.735412722919136]