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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_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.0012/0.0012, allocations: 106.2 kB / 16.42 MB, free: 6.418 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.001194/0.001195, allocations: 192.3 kB / 17.36 MB, free: 5.688 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.286/2.286, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.718e-05, allocations: 2.5 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002009/0.002035, allocations: 1.438 MB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.002754, allocations: 478.8 kB / 1.056 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.002794, allocations: 0 / 1.056 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.002822, allocations: 4 kB / 1.056 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.002889, allocations: 3.938 kB / 1.057 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.003077, allocations: 19.91 kB / 1.057 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.003159, allocations: 31.91 kB / 1.057 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.00325, allocations: 12 kB / 1.057 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.003318, allocations: 15.92 kB / 1.057 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.003366, allocations: 7.938 kB / 1.057 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.00338, allocations: 0 / 1.057 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.003455, allocations: 27.92 kB / 1.057 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.179e-05/0.003513, allocations: 35.58 kB / 1.057 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.435e-05/0.003533, allocations: 27.64 kB / 1.057 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.055e-05/0.003547, allocations: 0 / 1.057 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.779e-06/0.003561, allocations: 0 / 1.057 GB, free: 5.617 MB / 0.8262 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.0002804/0.003845, allocations: 236.7 kB / 1.057 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.858e-05/0.003869, allocations: 7.953 kB / 1.057 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000148/0.004022, allocations: 144.2 kB / 1.057 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simplify1: time 1.72e-05/0.004046, allocations: 19.98 kB / 1.057 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002238/0.004274, allocations: 132.7 kB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simplify2: time 1.538e-05/0.004297, allocations: 11.98 kB / 1.057 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of Events: time 6.07e-05/0.004362, allocations: 23.98 kB / 1.057 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of Detect States: time 5.857e-05/0.00443, allocations: 52.11 kB / 1.057 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.003e-05/0.004486, allocations: 48.03 kB / 1.057 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001299/0.004621, allocations: 88.08 kB / 1.057 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001063/0.004735, allocations: 132.6 kB / 1.058 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001642/0.004905, allocations: 204.3 kB / 1.058 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.083e-05/0.004921, allocations: 12.12 kB / 1.058 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.266e-05/0.004938, allocations: 11.92 kB / 1.058 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001326/0.005075, allocations: 104.1 kB / 1.058 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of Tearing: time 7.644e-06/0.005091, allocations: 0 / 1.058 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of Initialization: time 1.864e-06/0.005097, allocations: 4 kB / 1.058 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Tearing: time 8.81e-07/0.005101, allocations: 0 / 1.058 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Categorize: time 5.451e-06/0.005111, allocations: 0 / 1.058 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Solve: time 4.832e-05/0.005163, allocations: 27.91 kB / 1.058 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.384e-06/0.00517, allocations: 0 / 1.058 GB, free: 4.102 MB / 0.8262 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 2.565e-05/0.005199, allocations: 16.92 kB / 1.058 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005209/0.005726, allocations: 0.7963 MB / 1.059 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.002206/0.007942, allocations: 499 kB / 1.059 GB, free: 2.789 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) 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) Reference file matches