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) 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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_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.001086/0.001086, allocations: 106.9 kB / 16.41 MB, free: 5.93 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.00106/0.00106, allocations: 190.3 kB / 17.35 MB, free: 5.555 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.146/1.146, 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.1.0-maint.11.x/package.mo): time 2.228/2.228, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.213e-05, allocations: 2.281 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001872/0.001892, allocations: 1.437 MB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.002585, allocations: 470.9 kB / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.002624, allocations: 0 / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.002652, allocations: 0 / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.002711, allocations: 3.938 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.002888, allocations: 27.91 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.002961, allocations: 35.92 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.00303, allocations: 0 / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.003083, allocations: 15.92 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.003121, allocations: 11.98 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.003137, allocations: 7.938 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.003198, allocations: 19.92 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.13e-05/0.003255, allocations: 35.58 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.079e-05/0.003272, allocations: 19.72 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.003291, allocations: 11.88 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.906e-06/0.003304, allocations: 0 / 1.068 GB, free: 11.48 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.000245/0.003553, allocations: 220.6 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.829e-05/0.003577, allocations: 11.94 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001373/0.003718, allocations: 128.3 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of simplify1: time 3.767e-05/0.003763, allocations: 48.36 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002094/0.003977, allocations: 100.8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simplify2: time 3.56e-05/0.004022, allocations: 48.42 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Detect States: time 5.482e-05/0.004082, allocations: 48.16 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Events: time 7.013e-05/0.004157, allocations: 31.91 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.928e-05/0.004203, allocations: 24.11 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001064/0.004316, allocations: 72.08 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 9.361e-05/0.004417, allocations: 112.3 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001465/0.004569, allocations: 172.3 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.009e-05/0.004585, allocations: 12.12 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.363e-05/0.004612, allocations: 23.91 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001096/0.004726, allocations: 88.36 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Tearing: time 7.043e-06/0.004741, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Initialization: time 3e-07/0.004746, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Tearing: time 1.212e-06/0.00475, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Categorize: time 8.326e-06/0.004762, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Solve: time 4.312e-05/0.004809, allocations: 31.84 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.214e-06/0.004816, allocations: 0 / 1.069 GB, free: 9.996 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 2.7e-05/0.004848, allocations: 27.88 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004596/0.005312, allocations: 0.8007 MB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of Templates: time 0.001961/0.007282, allocations: 0.4887 MB / 1.07 GB, free: 8.66 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) 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) Reference file matches