Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001854/0.001854, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.003132/0.003132, allocations: 190.4 kB / 22.11 MB, free: 5.16 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.02 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001796/0.3564, allocations: 0.6033 MB / 1.307 GB, free: 1.258 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001475/0.3579, allocations: 1.124 MB / 1.308 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.3579, allocations: 4 kB / 1.308 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.3579, allocations: 3.938 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3581, allocations: 11.94 kB / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.3581, allocations: 0 / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.3582, allocations: 11.98 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.3582, allocations: 0 / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.3583, allocations: 7.922 kB / 1.309 GB, free: 80 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.3583, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.3583, allocations: 4 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3584, allocations: 19.92 kB / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3584, allocations: 0 / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.3584, allocations: 7.938 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 9.146e-05/0.3585, allocations: 15.91 kB / 1.309 GB, free: 32 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3585, allocations: 0 / 1.309 GB, free: 32 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.3585, allocations: 0 / 1.309 GB, free: 32 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.58e-06/0.3585, allocations: 0 / 1.309 GB, free: 32 kB / 0.9981 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.0003546/0.3589, allocations: 246.4 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3589, allocations: 8.922 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.359, allocations: 0.9375 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.3591, allocations: 110.5 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3591, allocations: 8.375 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3591, allocations: 4.312 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3592, allocations: 42 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3592, allocations: 3.938 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3592, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.3593, allocations: 4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.3593, allocations: 7.984 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.3595, allocations: 116.8 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3597, allocations: 42.55 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.3597, allocations: 8.859 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.3598, allocations: 8.078 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3598, allocations: 34.5 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3598, allocations: 0 / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5): time 0.004557/0.3644, allocations: 0.5676 MB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3644, allocations: 63.34 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.3645, allocations: 89.86 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3645, allocations: 25.7 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.3645, allocations: 84.14 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.3646, allocations: 15.83 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3647, allocations: 21.72 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001463/0.3648, allocations: 310.8 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.3654, allocations: 87.95 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.3661, allocations: 102.5 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.3674, allocations: 194.4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3674, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.001337/0.3687, allocations: 209.5 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3687, allocations: 8 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3687, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3687, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.3691, allocations: 52 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3692, allocations: 3.984 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.3695, allocations: 43.98 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3695, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 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.0001019/0.3696, allocations: 121.7 kB / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3697, allocations: 3.938 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3711, allocations: 241.1 kB / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3711, allocations: 4 kB / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3711, allocations: 0 / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3711, allocations: 0 / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3728, allocations: 437.7 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3728, allocations: 4 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.3732, allocations: 47.97 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3732, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3732, allocations: 4 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3732, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3732, allocations: 3.938 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3746, allocations: 311.3 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.3746, allocations: 432 / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3746, allocations: 4 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.375, allocations: 39.98 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.375, allocations: 7.922 kB / 1.312 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.375, allocations: 4 kB / 1.312 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.244e-05/0.3751, allocations: 75.28 kB / 1.312 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3751, allocations: 0 / 1.312 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002517/0.3753, allocations: 8 kB / 1.312 GB, free: 11.98 MB / 1.014 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.0001834/0.3755, allocations: 116 kB / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001371/0.3769, allocations: 183.8 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3769, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000654/0.3775, allocations: 88.08 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3778, allocations: 5.125 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.379, allocations: 216.8 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3794, allocations: 0.6729 MB / 1.313 GB, free: 10.64 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001722/0.3795, allocations: 28 kB / 1.313 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.3796, allocations: 19.36 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of SimCode: time 3.51e-07/0.3796, allocations: 0 / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of Templates: time 0.003079/0.3827, allocations: 0.8228 MB / 1.314 GB, free: 9.773 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.78450554702431]