Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111.6 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 183.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.002/2.002, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.716e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002095/0.00212, allocations: 1.443 MB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006919/0.002823, allocations: 463.8 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.002865, allocations: 7.938 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.002894, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.002965, allocations: 7.922 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.003148, allocations: 23.92 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.00322, allocations: 27.92 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.003314, allocations: 7.984 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.003371, allocations: 15.94 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.003412, allocations: 11.98 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.003427, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.003502, allocations: 27.91 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of combineBinaries: time 4.587e-05/0.003555, allocations: 35.58 kB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.005e-05/0.00358, allocations: 27.66 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.014e-05/0.003594, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.155e-06/0.003606, allocations: 3.938 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.000287/0.003897, allocations: 236.7 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.366e-05/0.003916, allocations: 3.953 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001575/0.004079, allocations: 152.2 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simplify1: time 1.253e-05/0.004098, allocations: 8 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002239/0.004327, allocations: 132.6 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simplify2: time 1.649e-05/0.004351, allocations: 20.16 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of Detect States: time 5.221e-05/0.004408, allocations: 36.17 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of Events: time 6.779e-05/0.004482, allocations: 31.97 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.642e-05/0.004536, allocations: 36.11 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001344/0.004676, allocations: 96.02 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001007/0.004784, allocations: 128.3 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of Inline: time 0.000168/0.004958, allocations: 216.5 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.885e-05/0.004982, allocations: 12.12 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.077e-05/0.004997, allocations: 7.984 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001321/0.005133, allocations: 116 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of Tearing: time 8.967e-06/0.00515, allocations: 0 / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of Initialization: time 3.91e-07/0.005155, allocations: 0 / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of Tearing: time 9.82e-07/0.00516, allocations: 0 / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of Categorize: time 5.16e-06/0.005168, allocations: 0 / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of Solve: time 4.043e-05/0.005213, allocations: 19.98 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.438e-06/0.005223, allocations: 3.938 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.096e-05/0.005259, allocations: 25.62 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004878/0.005751, allocations: 0.8059 MB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of Templates: time 0.00214/0.007901, allocations: 484.9 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches