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 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.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.0008551/0.0008551, allocations: 109.3 kB / 16.42 MB, free: 6.457 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.000896/0.0008957, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.225/1.225, 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.361/2.361, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.247e-05, allocations: 2.5 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002782/0.002813, allocations: 1.826 MB / 1.056 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.003776, allocations: 0.5532 MB / 1.057 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.003886, allocations: 4 kB / 1.057 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.004015, allocations: 27.72 kB / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.206e-05/0.004094, allocations: 23.73 kB / 1.057 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004316, allocations: 63.86 kB / 1.057 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.004568, allocations: 191.5 kB / 1.057 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.004718, allocations: 57.58 kB / 1.057 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.004812, allocations: 55.72 kB / 1.057 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.004899, allocations: 55.7 kB / 1.057 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004936, allocations: 12 kB / 1.057 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.004962, allocations: 12 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002197/0.005186, allocations: 240.9 kB / 1.058 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 9.517e-05/0.005287, allocations: 157.6 kB / 1.058 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.005327, allocations: 23.88 kB / 1.058 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.467e-05/0.005366, allocations: 4 kB / 1.058 GB, free: 4.449 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.0008378/0.006209, allocations: 0.7129 MB / 1.059 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.96e-05/0.006244, allocations: 23.92 kB / 1.059 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000226/0.006475, allocations: 272.2 kB / 1.059 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simplify1: time 2.979e-05/0.006511, allocations: 19.97 kB / 1.059 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of Alias: time 0.0007139/0.00723, allocations: 0.5917 MB / 1.059 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simplify2: time 1.695e-05/0.007256, allocations: 11.98 kB / 1.059 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of Events: time 0.0001034/0.007365, allocations: 55.88 kB / 1.059 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001677/0.007541, allocations: 132 kB / 1.06 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001372/0.007686, allocations: 132 kB / 1.06 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003084/0.008, allocations: 297.7 kB / 1.06 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0002096/0.008218, allocations: 232.7 kB / 1.06 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003602/0.008585, allocations: 374.5 kB / 1.061 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.963e-05/0.008623, allocations: 32.11 kB / 1.061 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.288e-05/0.008655, allocations: 19.92 kB / 1.061 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004268/0.009087, allocations: 390.2 kB / 1.061 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of Tearing: time 7.915e-06/0.009103, allocations: 0 / 1.061 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of Initialization: time 4.91e-07/0.009108, allocations: 0 / 1.061 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of Tearing: time 3.817e-06/0.009115, allocations: 3.938 kB / 1.061 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of Categorize: time 1.23e-05/0.009132, allocations: 7.984 kB / 1.061 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of Solve: time 9.487e-05/0.00923, allocations: 59.81 kB / 1.061 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of Jacobian: time 0.0003272/0.009563, allocations: 0.7113 MB / 1.062 GB, free: 15.84 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 5.171e-05/0.009621, allocations: 26.95 kB / 1.062 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008032/0.01043, allocations: 1.146 MB / 1.063 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.002913/0.01335, allocations: 0.9293 MB / 1.064 GB, free: 13.67 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