Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.2 kB / 16.42 MB, free: 6.477 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.000839/0.000839, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.115/1.115, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.028/2.028, allocations: 437 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.909e-06/9.919e-06, allocations: 2.281 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002145/0.002163, allocations: 1.826 MB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.002929, allocations: 0.5454 MB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.003011, allocations: 11.94 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003128, allocations: 23.73 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.003191, allocations: 23.73 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.003367, allocations: 67.92 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.003583, allocations: 199.4 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003705, allocations: 49.66 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.003774, allocations: 51.72 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.003841, allocations: 63.64 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.003876, allocations: 8 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.003901, allocations: 16 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001386/0.004044, allocations: 237 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 6.851e-05/0.004117, allocations: 157.6 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.004151, allocations: 27.88 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.379e-05/0.004178, allocations: 7.938 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.0005728/0.004755, allocations: 0.7052 MB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of FunctionAlias: time 2.541e-05/0.004786, allocations: 27.92 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002057/0.004996, allocations: 260.2 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simplify1: time 2.358e-05/0.005025, allocations: 19.97 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of Alias: time 0.0006255/0.005655, allocations: 0.5993 MB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simplify2: time 1.383e-05/0.005677, allocations: 11.98 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001308/0.005813, allocations: 125.7 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of Events: time 8.923e-05/0.00591, allocations: 55.88 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001092/0.006026, allocations: 125.5 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002851/0.006316, allocations: 294.3 kB / 1.024 GB, free: 3.605 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001667/0.00649, allocations: 228.4 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of Inline: time 0.0003274/0.006823, allocations: 382.4 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of Partitioning: time 2.719e-05/0.006858, allocations: 32.06 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of Cleanup: time 1.558e-05/0.006878, allocations: 11.98 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003995/0.007282, allocations: 403.4 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of Tearing: time 8.466e-06/0.007299, allocations: 4 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of Initialization: time 1.413e-06/0.007304, allocations: 4 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of Tearing: time 3.466e-06/0.007311, allocations: 3.938 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of Categorize: time 7.234e-06/0.007322, allocations: 0 / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of Solve: time 7.581e-05/0.007402, allocations: 55.89 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of Jacobian: time 0.0002958/0.007703, allocations: 0.6996 MB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 4 * Number of algebraic event partitions: ......... 3 * 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: ............................. 4 (4) {intWitRes1.y, intWitRes2.y, intNoReset.y, intDef.y} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {booleanPulse.y, sampleTrigger.y, $SEV_0, $TEV_3, $TEV_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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 24 (scalar:24, 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.892e-05/0.007738, allocations: 21.97 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of SimCode: time 0.000629/0.008373, allocations: 1.166 MB / 1.027 GB, free: 348 kB / 0.795 GB Notification: Performance of Templates: time 0.002615/0.011, allocations: 0.9298 MB / 1.028 GB, free: 15.41 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cons.y,booleanPulse.y,intWitRes1.y_start,intWitRes1.y_reset,intWitRes1.y,intWitRes2.y_start,intWitRes2.y,intWitRes2.y_reset_in,intNoReset.y_start,intNoReset.y,intDef.y_start,intDef.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,cons.k,cons.y,intDef.initType,intDef.k,intDef.reset,intDef.trigger_internal,intDef.u,intDef.y,intDef.y_reset,intDef.y_reset_internal,intDef.y_start,intNoReset.initType,intNoReset.k,intNoReset.reset,intNoReset.trigger_internal,intNoReset.u,intNoReset.y,intNoReset.y_reset,intNoReset.y_reset_internal,intNoReset.y_start,intWitRes1.initType,intWitRes1.k,intWitRes1.reset,intWitRes1.u,intWitRes1.y,intWitRes1.y_reset,intWitRes1.y_reset_internal,intWitRes1.y_start,intWitRes2.initType,intWitRes2.k,intWitRes2.reset,intWitRes2.u,intWitRes2.y,intWitRes2.y_reset,intWitRes2.y_reset_in,intWitRes2.y_start,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sampleTrigger.period,sampleTrigger.startTime,time