Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001949/0.001949, 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.0024/0.0024, allocations: 215.9 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.634/1.634, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002069/0.002069, allocations: 67.53 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 169.9 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001909/0.3805, allocations: 0.6077 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3821, allocations: 1.12 MB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.3821, allocations: 7.938 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.3822, allocations: 4 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.3824, allocations: 11.94 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.3824, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.3825, allocations: 7.938 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.3825, allocations: 7.969 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.3825, allocations: 0 / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.39e-05/0.3825, allocations: 7.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.3826, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3827, allocations: 15.98 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3827, allocations: 7.938 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.3827, allocations: 7.984 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.3828, allocations: 11.94 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3828, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3828, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3828, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003376/0.3831, allocations: 250.3 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3832, allocations: 12.03 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3832, allocations: 0.9375 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.3833, allocations: 102.5 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3833, allocations: 384 / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3833, allocations: 16.36 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3834, allocations: 34.02 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3835, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3835, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3835, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.3835, allocations: 11.92 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.3837, allocations: 101.3 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3839, allocations: 34.61 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.3839, allocations: 6.672 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.384, allocations: 4.094 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.384, allocations: 42.55 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.384, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.004357/0.3884, allocations: 0.5719 MB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3884, allocations: 55.34 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.3885, allocations: 89.86 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3885, allocations: 33.7 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3886, allocations: 80.14 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3886, allocations: 11.84 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.3887, allocations: 25.7 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3888, allocations: 314.8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.3894, allocations: 87.89 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.3901, allocations: 102.5 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3913, allocations: 190.4 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3913, allocations: 4 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001285/0.3926, allocations: 217.5 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3926, allocations: 10.12 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3926, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3926, allocations: 192 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.393, allocations: 60 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.393, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.3934, allocations: 43.97 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3934, allocations: 7.938 kB / 1.288 GB, free: 7.414 MB / 0.9825 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 (5): * Single equations (assignments): 5 * 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.000102/0.3935, allocations: 105.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.3935, allocations: 3.938 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.3949, allocations: 245.1 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3949, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3949, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3949, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3965, allocations: 406 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3965, allocations: 4 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.3969, allocations: 47.97 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3969, allocations: 4 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3969, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3969, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3969, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3982, allocations: 303.4 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.3982, allocations: 7.953 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3982, allocations: 0 / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.3986, allocations: 43.97 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.3986, allocations: 7.938 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3987, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.3987, allocations: 75.28 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3987, allocations: 4 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002575/0.399, allocations: 15.98 kB / 1.289 GB, free: 6.102 MB / 0.9825 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 (5): * Single equations (assignments): 5 * 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.0001927/0.3992, allocations: 99.19 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.4004, allocations: 180.2 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4004, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.4011, allocations: 100 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4013, allocations: 3.938 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4025, allocations: 242.5 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.4026, allocations: 59.34 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.4027, allocations: 15.38 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.4027, allocations: 0 / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.002891/0.4056, allocations: 1.107 MB / 1.291 GB, free: 4.246 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: 11.880960013717413]