Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00112/0.00112, allocations: 106.8 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.001175/0.001175, allocations: 187.2 kB / 17.35 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.197/1.197, 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.376/2.376, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.434e-05, allocations: 2.281 kB / 1.07 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002337/0.00236, allocations: 1.817 MB / 1.072 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.003213, allocations: 0.5493 MB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.003305, allocations: 7.938 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003435, allocations: 23.72 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.003511, allocations: 23.75 kB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003701, allocations: 71.84 kB / 1.072 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.003934, allocations: 187.4 kB / 1.073 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.004083, allocations: 57.62 kB / 1.073 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.00416, allocations: 59.72 kB / 1.073 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.004242, allocations: 51.7 kB / 1.073 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.004271, allocations: 12 kB / 1.073 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.004295, allocations: 8 kB / 1.073 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001589/0.004458, allocations: 241 kB / 1.073 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.2e-05/0.004536, allocations: 157.6 kB / 1.073 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.004578, allocations: 23.88 kB / 1.073 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.725e-05/0.004611, allocations: 15.88 kB / 1.073 GB, free: 6.359 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.000633/0.005248, allocations: 0.709 MB / 1.074 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.815e-05/0.005282, allocations: 27.86 kB / 1.074 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002273/0.005513, allocations: 260.3 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of simplify1: time 2.783e-05/0.005547, allocations: 23.97 kB / 1.074 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006679/0.006221, allocations: 0.5882 MB / 1.075 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of simplify2: time 1.489e-05/0.006245, allocations: 11.98 kB / 1.075 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001566/0.006407, allocations: 119.1 kB / 1.075 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of Events: time 0.0001121/0.006526, allocations: 67.88 kB / 1.075 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.00011/0.006643, allocations: 128 kB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003114/0.00696, allocations: 297.9 kB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001781/0.007146, allocations: 224.4 kB / 1.076 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003461/0.007498, allocations: 376.9 kB / 1.076 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.616e-05/0.007533, allocations: 28.06 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.783e-05/0.007557, allocations: 19.92 kB / 1.076 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004326/0.007994, allocations: 390.8 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of Tearing: time 9.969e-06/0.008012, allocations: 3.938 kB / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of Initialization: time 2.91e-07/0.008017, allocations: 0 / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of Tearing: time 3.967e-06/0.008026, allocations: 7.984 kB / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of Categorize: time 7.845e-06/0.008037, allocations: 0 / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of Solve: time 8.14e-05/0.008122, allocations: 59.89 kB / 1.076 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.000338/0.008466, allocations: 0.7036 MB / 1.077 GB, free: 1.773 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: ............... 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 3.927e-05/0.008512, allocations: 39.28 kB / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007325/0.009249, allocations: 1.181 MB / 1.078 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of Templates: time 0.456/0.4652, allocations: 0.9131 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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