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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001196/0.001196, allocations: 111.8 kB / 16.42 MB, free: 6.52 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.001173/0.001173, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.245/1.245, 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 12.0.0-master/package.mo): time 2.475/2.475, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.817e-05, allocations: 6.219 kB / 1.07 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001996/0.002022, allocations: 1.444 MB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.002724, allocations: 466.8 kB / 1.072 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.002768, allocations: 0 / 1.072 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.002797, allocations: 0 / 1.072 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.00287, allocations: 11.91 kB / 1.072 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.00308, allocations: 23.92 kB / 1.072 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.00316, allocations: 27.92 kB / 1.072 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.003257, allocations: 12 kB / 1.072 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.003319, allocations: 15.92 kB / 1.072 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.003361, allocations: 7.938 kB / 1.072 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003378, allocations: 4 kB / 1.072 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.003452, allocations: 27.89 kB / 1.072 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of combineBinaries: time 4.567e-05/0.003508, allocations: 35.59 kB / 1.072 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.162e-05/0.003524, allocations: 19.66 kB / 1.072 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.022e-05/0.003539, allocations: 4 kB / 1.072 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.157e-06/0.003552, allocations: 0 / 1.072 GB, free: 7.57 MB / 0.8419 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.0003025/0.003858, allocations: 240.6 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.714e-05/0.003881, allocations: 7.953 kB / 1.072 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001546/0.004039, allocations: 152.2 kB / 1.072 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of simplify1: time 1.386e-05/0.00406, allocations: 11.98 kB / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002262/0.004293, allocations: 124.8 kB / 1.073 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simplify2: time 1.292e-05/0.004315, allocations: 15.98 kB / 1.073 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of Detect States: time 6.273e-05/0.004382, allocations: 48.16 kB / 1.073 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of Events: time 6.669e-05/0.004455, allocations: 31.91 kB / 1.073 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.941e-05/0.00451, allocations: 32.11 kB / 1.073 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001233/0.004639, allocations: 88.08 kB / 1.073 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001072/0.004753, allocations: 132.3 kB / 1.073 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001676/0.004928, allocations: 212.5 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.082e-05/0.004944, allocations: 8.125 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.079e-05/0.004969, allocations: 15.92 kB / 1.073 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001418/0.005115, allocations: 100.1 kB / 1.073 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of Tearing: time 8.115e-06/0.005132, allocations: 0 / 1.073 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of Initialization: time 3.11e-07/0.005137, allocations: 0 / 1.073 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of Tearing: time 5.992e-06/0.005147, allocations: 4 kB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of Categorize: time 6.783e-06/0.00516, allocations: 7.938 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of Solve: time 4.668e-05/0.00521, allocations: 19.98 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.795e-06/0.005218, allocations: 0 / 1.073 GB, free: 6.062 MB / 0.8419 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.17e-05/0.005253, allocations: 23.64 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005106/0.005768, allocations: 0.8059 MB / 1.074 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of Templates: time 0.002078/0.007856, allocations: 487.4 kB / 1.075 GB, free: 4.742 MB / 0.8419 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