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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 250.1 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 496.2 MB / 0.7826 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.786e-05, allocations: 6.219 kB / 1.137 GB, free: 12.51 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003382/0.00341, allocations: 1.837 MB / 1.138 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.004812, allocations: 0.5493 MB / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.004944, allocations: 4 kB / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.005137, allocations: 27.67 kB / 1.139 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.005246, allocations: 27.72 kB / 1.139 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.005586, allocations: 75.84 kB / 1.139 GB, free: 9.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.005934, allocations: 199.4 kB / 1.139 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.006118, allocations: 37.66 kB / 1.139 GB, free: 9.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.006262, allocations: 71.7 kB / 1.139 GB, free: 9.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.006386, allocations: 67.62 kB / 1.139 GB, free: 9.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.00642, allocations: 12 kB / 1.139 GB, free: 9.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-05/0.006447, allocations: 12 kB / 1.139 GB, free: 9.574 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0002962/0.006743, allocations: 253 kB / 1.14 GB, free: 9.324 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001499/0.006893, allocations: 169.5 kB / 1.14 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.006944, allocations: 23.94 kB / 1.14 GB, free: 9.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.471e-05/0.006988, allocations: 7.938 kB / 1.14 GB, free: 9.125 MB / 0.92 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.0009471/0.007935, allocations: 0.6238 MB / 1.14 GB, free: 8.383 MB / 0.92 GB Notification: Performance of FunctionAlias: time 6.758e-05/0.008003, allocations: 38.78 kB / 1.14 GB, free: 8.348 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0003028/0.008306, allocations: 208.3 kB / 1.141 GB, free: 8.117 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001156/0.008421, allocations: 64.41 kB / 1.141 GB, free: 8.027 MB / 0.92 GB Notification: Performance of Alias: time 0.001112/0.009533, allocations: 0.5176 MB / 1.141 GB, free: 7.391 MB / 0.92 GB Notification: Performance of Simplify 2: time 8.573e-05/0.009619, allocations: 60.39 kB / 1.141 GB, free: 7.305 MB / 0.92 GB Notification: Performance of Remove Stream: time 7.666e-05/0.009696, allocations: 52.41 kB / 1.141 GB, free: 7.227 MB / 0.92 GB Notification: Performance of Detect States: time 0.0003225/0.01002, allocations: 132.8 kB / 1.141 GB, free: 7.059 MB / 0.92 GB Notification: Performance of Events: time 0.0001631/0.01018, allocations: 64.22 kB / 1.141 GB, free: 6.996 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0002247/0.01041, allocations: 132.8 kB / 1.142 GB, free: 6.812 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005303/0.01094, allocations: 301.6 kB / 1.142 GB, free: 6.465 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001686/0.0111, allocations: 119.9 kB / 1.142 GB, free: 6.348 MB / 0.92 GB Notification: Performance of Simplify: time 0.0003876/0.01149, allocations: 185.5 kB / 1.142 GB, free: 6.117 MB / 0.92 GB Notification: Performance of Inline: time 0.0002606/0.01175, allocations: 183.8 kB / 1.142 GB, free: 5.934 MB / 0.92 GB Notification: Performance of Partitioning: time 3.351e-05/0.01179, allocations: 20.09 kB / 1.142 GB, free: 5.906 MB / 0.92 GB Notification: Performance of Cleanup: time 5.874e-05/0.01185, allocations: 43.97 kB / 1.142 GB, free: 5.863 MB / 0.92 GB Notification: Performance of Causalize: time 0.0006452/0.01249, allocations: 358.9 kB / 1.143 GB, free: 5.508 MB / 0.92 GB Notification: Performance of Tearing: time 1.472e-05/0.01251, allocations: 4 kB / 1.143 GB, free: 5.504 MB / 0.92 GB Notification: Performance of Initialization: time 4.21e-07/0.01251, allocations: 3.938 kB / 1.143 GB, free: 5.5 MB / 0.92 GB Notification: Performance of Remove Dummies: time 7.393e-06/0.01251, allocations: 4 kB / 1.143 GB, free: 5.496 MB / 0.92 GB Notification: Performance of Tearing: time 2.034e-06/0.01252, allocations: 4 kB / 1.143 GB, free: 5.492 MB / 0.92 GB Notification: Performance of Categorize: time 1.82e-05/0.01253, allocations: 7.984 kB / 1.143 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Solve: time 0.0001263/0.01266, allocations: 43.95 kB / 1.143 GB, free: 5.441 MB / 0.92 GB Notification: Performance of Jacobian: time 0.0005031/0.01316, allocations: 0.6956 MB / 1.144 GB, free: 4.598 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 4 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * 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) {} * Number of discrete variables: ................. 7 (7) {booleanPulse.y, sampleTrigger.y, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001533/0.01332, allocations: 39.78 kB / 1.144 GB, free: 4.566 MB / 0.92 GB Notification: Performance of SimCode: time 0.001175/0.01449, allocations: 1.15 MB / 1.145 GB, free: 3.355 MB / 0.92 GB Notification: Performance of Templates: time 0.005052/0.01954, allocations: 0.9482 MB / 1.146 GB, free: 2.41 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.004227851517498]