Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111.4 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.001221/0.001221, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.359/2.359, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/1.967e-05, allocations: 5.094 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001255/0.001284, allocations: 0.5863 MB / 1.055 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.001506, allocations: 55.78 kB / 1.055 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.001529, allocations: 0 / 1.055 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.001546, allocations: 3.938 kB / 1.055 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.001566, allocations: 0 / 1.055 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.001753, allocations: 15.98 kB / 1.055 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.721e-05/0.001798, allocations: 0 / 1.055 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.001842, allocations: 4 kB / 1.055 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.001859, allocations: 3.984 kB / 1.055 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/0.001881, allocations: 0 / 1.055 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.001893, allocations: 0 / 1.055 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.001974, allocations: 23.98 kB / 1.055 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of combineBinaries: time 1.96e-05/0.002, allocations: 3.984 kB / 1.055 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.265e-05/0.002017, allocations: 3.938 kB / 1.055 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-06/0.002031, allocations: 7.938 kB / 1.055 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.342e-06/0.002043, allocations: 4 kB / 1.055 GB, free: 7.027 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000204/0.002251, allocations: 149.3 kB / 1.056 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.442e-05/0.00227, allocations: 3.953 kB / 1.056 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001191/0.002394, allocations: 80.27 kB / 1.056 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simplify1: time 6.142e-06/0.002408, allocations: 0 / 1.056 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of Alias: time 5.974e-05/0.002472, allocations: 52.56 kB / 1.056 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simplify2: time 7.834e-06/0.002484, allocations: 11.97 kB / 1.056 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of Events: time 6.991e-05/0.002558, allocations: 12 kB / 1.056 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of Detect States: time 5.458e-05/0.00262, allocations: 34.38 kB / 1.056 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.446e-05/0.002683, allocations: 32.03 kB / 1.056 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001618/0.00285, allocations: 56.05 kB / 1.056 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 6.119e-05/0.002919, allocations: 60.41 kB / 1.056 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of Inline: time 8.638e-05/0.00301, allocations: 100.4 kB / 1.056 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.216e-05/0.003028, allocations: 12.12 kB / 1.056 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of Cleanup: time 6.853e-06/0.003039, allocations: 0 / 1.056 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001057/0.00315, allocations: 76.3 kB / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of Tearing: time 6.362e-06/0.003165, allocations: 0 / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of Initialization: time 2.214e-06/0.003171, allocations: 0 / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of Tearing: time 1.283e-06/0.003176, allocations: 3.938 kB / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of Categorize: time 5.691e-06/0.003185, allocations: 0 / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of Solve: time 3.887e-05/0.003227, allocations: 15.98 kB / 1.056 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.567e-06/0.003235, allocations: 3.938 kB / 1.056 GB, free: 6.066 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: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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.258e-05/0.003263, allocations: 14.36 kB / 1.056 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0004599/0.003727, allocations: 0.7647 MB / 1.057 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.002001/0.005744, allocations: 408.4 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches