Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001646/0.001646, allocations: 115.6 kB / 17.08 MB, free: 5.984 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.001841/0.001841, allocations: 194.2 kB / 20.03 MB, free: 3.055 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.708/2.708, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001717/0.326, allocations: 0.5922 MB / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3275, allocations: 1.104 MB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.3275, allocations: 0 / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.3276, allocations: 4 kB / 1.178 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.3279, allocations: 27.84 kB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.3279, allocations: 0 / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.674e-05/0.3279, allocations: 4 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.328, allocations: 0 / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.328, allocations: 4 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.328, allocations: 3.984 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.3281, allocations: 0 / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3282, allocations: 23.91 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-06/0.3282, allocations: 0 / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.3282, allocations: 7.938 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.52e-05/0.3283, allocations: 19.92 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3283, allocations: 0 / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3283, allocations: 0 / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3283, allocations: 0 / 1.178 GB, free: 4.066 MB / 0.92 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.0003397/0.3287, allocations: 319.5 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3287, allocations: 8.031 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3288, allocations: 12.89 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3289, allocations: 160.4 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3289, allocations: 384 / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3289, allocations: 4.375 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3291, allocations: 38 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3291, allocations: 4 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3291, allocations: 0 / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3291, allocations: 0 / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.3291, allocations: 8 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.3293, allocations: 149.6 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3295, allocations: 42.55 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.3296, allocations: 12.86 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.3297, allocations: 85.09 kB / 1.178 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3298, allocations: 38.58 kB / 1.178 GB, free: 3.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3298, allocations: 0 / 1.178 GB, free: 3.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.004317/0.3341, allocations: 0.5715 MB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3342, allocations: 59.39 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.3342, allocations: 89.86 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3343, allocations: 25.7 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.3343, allocations: 80.14 kB / 1.179 GB, free: 2.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3344, allocations: 23.8 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.3344, allocations: 21.7 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3346, allocations: 310.8 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.3352, allocations: 83.95 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.3359, allocations: 110.5 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3371, allocations: 182.5 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3371, allocations: 4 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001327/0.3384, allocations: 217.5 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3385, allocations: 8 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3385, allocations: 192 / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3385, allocations: 0 / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.3389, allocations: 59.94 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3389, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.3393, allocations: 39.98 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3393, allocations: 3.984 kB / 1.18 GB, free: 1.082 MB / 0.92 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.0001013/0.3394, allocations: 113.8 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3395, allocations: 7.938 kB / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3409, allocations: 237 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3409, allocations: 0 / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3409, allocations: 0 / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3409, allocations: 0 / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.3426, allocations: 458.4 kB / 1.181 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3426, allocations: 0 / 1.181 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.343, allocations: 51.97 kB / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.343, allocations: 0 / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.343, allocations: 11.88 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.343, allocations: 3.984 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.343, allocations: 0 / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3444, allocations: 303.5 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.3445, allocations: 81.09 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3445, allocations: 0 / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.3449, allocations: 39.98 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.3449, allocations: 0 / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.345, allocations: 8.172 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.345, allocations: 79.28 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.345, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002664/0.3453, allocations: 8 kB / 1.182 GB, free: 15.59 MB / 0.9356 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.0002177/0.3455, allocations: 107.2 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.3468, allocations: 191.8 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3469, allocations: 0 / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.3475, allocations: 96.02 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3477, allocations: 7.938 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.349, allocations: 238.5 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3493, allocations: 0.6768 MB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.3494, allocations: 11.44 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3494, allocations: 4 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.002998/0.3524, allocations: 1.108 MB / 1.184 GB, free: 13.11 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.09016879007686]