Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001341/0.001341, allocations: 110 kB / 18.93 MB, free: 2.945 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.00193/0.00193, allocations: 186.7 kB / 22.23 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.121/3.121, allocations: 495.7 MB / 0.7831 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside")
translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.52 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4032, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00309/0.4063, allocations: 1.469 MB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0009439/0.4072, allocations: 470.9 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.4073, allocations: 3.938 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.4073, allocations: 0 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.4074, allocations: 15.94 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.4076, allocations: 19.91 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.4077, allocations: 20 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.4078, allocations: 11.91 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.4078, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.4079, allocations: 15.92 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4079, allocations: 4 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.408, allocations: 15.98 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.408, allocations: 4 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.408, allocations: 15.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4081, allocations: 35.83 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4081, allocations: 7.938 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.4081, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.889e-06/0.4082, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 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.0004895/0.4086, allocations: 262.3 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4087, allocations: 12.03 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4087, allocations: 0.9375 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4089, allocations: 110.5 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4089, allocations: 8.375 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4089, allocations: 384 / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.4091, allocations: 57.92 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4091, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4091, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4091, allocations: 0 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.4093, allocations: 35.95 kB / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.4097, allocations: 231.8 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4098, allocations: 38.59 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.4099, allocations: 24.91 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.41, allocations: 7.984 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.41, allocations: 30.56 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.41, allocations: 4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003892/0.4104, allocations: 85.58 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4105, allocations: 51.41 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4106, allocations: 101.9 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4106, allocations: 25.7 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.4107, allocations: 80.14 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4107, allocations: 20 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.4107, allocations: 13.72 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001507/0.4109, allocations: 310.8 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.411, allocations: 19.98 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.411, allocations: 15.97 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4112, allocations: 48.83 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4112, allocations: 0 / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.4114, allocations: 69.59 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4114, allocations: 4 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4114, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4114, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.4115, allocations: 11.98 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4115, allocations: 4.031 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4116, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4116, allocations: 0 / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (2):
 * Single equations (assignments): 2
 * 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 9.466e-05/0.4117, allocations: 118.5 kB / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4117, allocations: 7.953 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.412, allocations: 72.89 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.412, allocations: 32 / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.412, allocations: 8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.412, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4121, allocations: 132.7 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4121, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4122, allocations: 15.98 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4122, allocations: 3.938 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.4122, allocations: 256 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4122, allocations: 7.938 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4122, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.4125, allocations: 167.4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.4125, allocations: 4 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4125, allocations: 7.938 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.4126, allocations: 7.984 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.4126, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4126, allocations: 3.984 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.635e-05/0.4127, allocations: 83.31 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of sort global known variables: time 5.1e-08/0.4127, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002197/0.4129, allocations: 12 kB / 1.311 GB, free: 13.24 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 (2):
 * Single equations (assignments): 2
 * 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.0001619/0.413, allocations: 99.19 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002321/0.4133, allocations: 35.95 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4133, allocations: 0 / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.4134, allocations: 20.05 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.4137, allocations: 11.94 kB / 1.311 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.414, allocations: 109.5 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4144, allocations: 0.6768 MB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.341e-05/0.4144, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.4144, allocations: 11.44 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4144, allocations: 4.062 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of Templates: time 0.003285/0.4177, allocations: 0.5687 MB / 1.313 GB, free: 11.64 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.817296395078301]