Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001427/0.001427, allocations: 190.3 kB / 22.23 MB, free: 5.105 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.05 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.799/2.799, allocations: 476.7 MB / 0.7646 GB, free: 10.04 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.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_11_Buildings.Utilities.Math.Examples.SmoothHeaviside")
translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 59.89 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7733, allocations: 168.8 MB / 1.274 GB, free: 4.234 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003435/0.7767, allocations: 1.46 MB / 1.276 GB, free: 2.77 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001028/0.7777, allocations: 475 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.7778, allocations: 0 / 1.276 GB, free: 2.301 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.7778, allocations: 7.938 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.7779, allocations: 3.938 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.7781, allocations: 27.97 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.7782, allocations: 27.92 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.7783, allocations: 3.984 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.7784, allocations: 15.88 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.7784, allocations: 11.98 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7785, allocations: 4 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.037e-05/0.7785, allocations: 19.97 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.7786, allocations: 11.94 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.7786, allocations: 11.94 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.7787, allocations: 26.62 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7787, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.744e-06/0.7787, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.49e-06/0.7787, allocations: 0 / 1.276 GB, free: 2.133 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005363/0.7793, allocations: 266 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7793, allocations: 12.03 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.7794, allocations: 8.828 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.7795, allocations: 122.4 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7795, allocations: 384 / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-06/0.7795, allocations: 384 / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.7797, allocations: 53.98 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7797, allocations: 0 / 1.277 GB, free: 1.625 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.7798, allocations: 0 / 1.277 GB, free: 1.625 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.7798, allocations: 4 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.78, allocations: 39.94 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.7803, allocations: 224 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.7805, allocations: 44.06 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7806, allocations: 24.91 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.7807, allocations: 4 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.7807, allocations: 38.55 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7807, allocations: 0 / 1.277 GB, free: 1.191 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0004045/0.7811, allocations: 81.61 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.7812, allocations: 55.34 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.7813, allocations: 105.8 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.7813, allocations: 29.64 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.7814, allocations: 84.27 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.7814, allocations: 7.953 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.7814, allocations: 17.7 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001446/0.7816, allocations: 310.8 kB / 1.278 GB, free: 472 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.7817, allocations: 15.98 kB / 1.278 GB, free: 456 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.7818, allocations: 15.98 kB / 1.278 GB, free: 440 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.7819, allocations: 52.81 kB / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7819, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.7821, allocations: 61.61 kB / 1.278 GB, free: 316 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7822, allocations: 11.98 kB / 1.278 GB, free: 304 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.7822, allocations: 0 / 1.278 GB, free: 304 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7822, allocations: 0 / 1.278 GB, free: 304 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.7823, allocations: 8.031 kB / 1.278 GB, free: 296 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7823, allocations: 4 kB / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.7823, allocations: 7.984 kB / 1.278 GB, free: 284 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.7823, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 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.278e-05/0.7824, allocations: 113.7 kB / 1.278 GB, free: 160 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.7825, allocations: 11.95 kB / 1.278 GB, free: 148 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.7827, allocations: 72.95 kB / 1.278 GB, free: 72 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7827, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7827, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7827, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.7829, allocations: 132.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.7829, allocations: 3.938 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.783, allocations: 7.984 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.783, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.783, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.783, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.783, allocations: 256 / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.7833, allocations: 163.5 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.7833, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7833, allocations: 8 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.7834, allocations: 7.984 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.7834, allocations: 4 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.7834, allocations: 4.031 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.899e-05/0.7835, allocations: 83.27 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.7835, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002301/0.7837, allocations: 7.938 kB / 1.279 GB, free: 15.59 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 (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.0001684/0.7839, allocations: 107.2 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002363/0.7841, allocations: 35.95 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7841, allocations: 4.062 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.7842, allocations: 19.92 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.7845, allocations: 11.94 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.7848, allocations: 105.5 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.7851, allocations: 0.6768 MB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.368e-05/0.7852, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.7852, allocations: 15.5 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.41e-07/0.7852, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00325/0.7884, allocations: 0.5645 MB / 1.28 GB, free: 13.99 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.649540428072214]