Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001116/0.001116, allocations: 107 kB / 16.42 MB, free: 6.473 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.001112/0.001112, allocations: 190 kB / 17.36 MB, free: 5.695 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.196/1.196, 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 9.1.3-maint.9.1.x/package.mo): time 1.972/1.972, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.558e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00248/0.002503, allocations: 1.824 MB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.003362, allocations: 0.5416 MB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.003452, allocations: 4 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003579, allocations: 31.67 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.003651, allocations: 23.73 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003852, allocations: 67.91 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.004091, allocations: 195.4 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.00423, allocations: 49.66 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.004305, allocations: 51.78 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.004389, allocations: 67.58 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.004415, allocations: 8 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.004436, allocations: 12 kB / 0.9543 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001617/0.004602, allocations: 237 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.384e-05/0.004682, allocations: 157.6 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.004716, allocations: 23.94 kB / 0.9547 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.594e-05/0.004746, allocations: 11.88 kB / 0.9547 GB, free: 4.402 MB / 0.7325 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.0006234/0.005374, allocations: 0.7052 MB / 0.9554 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.533e-05/0.005405, allocations: 23.97 kB / 0.9554 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002261/0.005636, allocations: 268.2 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simplify1: time 2.43e-05/0.005666, allocations: 15.97 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of Alias: time 0.0006676/0.00634, allocations: 0.6111 MB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simplify2: time 1.489e-05/0.006364, allocations: 11.98 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001543/0.006524, allocations: 114.1 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of Events: time 9.311e-05/0.006624, allocations: 51.89 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001147/0.006747, allocations: 128.8 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002981/0.007051, allocations: 302 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001781/0.007237, allocations: 224.7 kB / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of Inline: time 0.0003495/0.007593, allocations: 376.8 kB / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.853e-05/0.00763, allocations: 36.05 kB / 0.9574 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.64e-05/0.007653, allocations: 15.98 kB / 0.9574 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0004335/0.008092, allocations: 394.8 kB / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of Tearing: time 1.061e-05/0.008111, allocations: 4 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of Initialization: time 5.31e-07/0.008116, allocations: 0 / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of Tearing: time 3.155e-06/0.008124, allocations: 3.938 kB / 0.9578 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of Categorize: time 8.155e-06/0.008136, allocations: 0 / 0.9578 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of Solve: time 8.324e-05/0.008223, allocations: 63.88 kB / 0.9579 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of Jacobian: time 0.0003245/0.008553, allocations: 0.7073 MB / 0.9586 GB, free: 15.81 MB / 0.7481 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.993e-05/0.0086, allocations: 27.62 kB / 0.9586 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 0.000718/0.009323, allocations: 1.166 MB / 0.9597 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.002883/0.01222, allocations: 0.9277 MB / 0.9607 GB, free: 13.62 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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