Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001125/0.001125, allocations: 106 kB / 16.42 MB, free: 6.484 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.001057/0.001057, allocations: 188.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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.237/2.237, allocations: 469.8 MB / 0.7432 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.273e-05, allocations: 2.5 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002233/0.002253, allocations: 1.827 MB / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.003076, allocations: 0.5493 MB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.003163, allocations: 4 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.003281, allocations: 23.73 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.003361, allocations: 31.73 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.003541, allocations: 63.86 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.003751, allocations: 191.4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003872, allocations: 41.64 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.003942, allocations: 55.72 kB / 1.069 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.004011, allocations: 59.7 kB / 1.069 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.004041, allocations: 8 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.004064, allocations: 12 kB / 1.069 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001485/0.004217, allocations: 237 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.279e-05/0.004295, allocations: 157.6 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.004328, allocations: 27.88 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.439e-05/0.004358, allocations: 11.92 kB / 1.069 GB, free: 10.33 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.0005415/0.004904, allocations: 0.5879 MB / 1.07 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.437e-05/0.004934, allocations: 23.92 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001703/0.005109, allocations: 196.2 kB / 1.07 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simplify1: time 7.003e-05/0.005184, allocations: 68.39 kB / 1.07 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005391/0.00573, allocations: 446.1 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simplify2: time 4.417e-05/0.005784, allocations: 52.41 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001273/0.005916, allocations: 84.77 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of Events: time 9.46e-05/0.006019, allocations: 56.25 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001068/0.006132, allocations: 116.8 kB / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002686/0.006407, allocations: 253.3 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000141/0.006556, allocations: 176.8 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002736/0.006835, allocations: 288.9 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.886e-05/0.006861, allocations: 16.12 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.12e-05/0.006907, allocations: 47.89 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000343/0.007254, allocations: 301.2 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of Tearing: time 7.414e-06/0.007271, allocations: 4 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of Initialization: time 3.1e-07/0.007275, allocations: 0 / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of Tearing: time 5.059e-06/0.007286, allocations: 7.938 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of Categorize: time 6.883e-06/0.007296, allocations: 0 / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of Solve: time 7.325e-05/0.007373, allocations: 47.89 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0003014/0.00768, allocations: 0.6879 MB / 1.072 GB, free: 6.281 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.715e-05/0.007723, allocations: 40.72 kB / 1.072 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006436/0.008371, allocations: 1.149 MB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.002713/0.01109, allocations: 0.9254 MB / 1.074 GB, free: 4.113 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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