Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 96.42 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 211.5 kB / 23.01 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.271/1.271, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.742/2.742, allocations: 0.49 GB / 0.7958 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.268e-05, allocations: 6.219 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001389/0.001402, allocations: 0.854 MB / 1.156 GB, free: 24.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.00246, allocations: 1.184 MB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.002513, allocations: 2.812 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.00254, allocations: 10.84 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.002607, allocations: 23.52 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.003032, allocations: 146.6 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.00321, allocations: 182.6 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003314, allocations: 35.39 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.003395, allocations: 66.23 kB / 1.157 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.003477, allocations: 70.62 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.003507, allocations: 16.62 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.003566, allocations: 22.67 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001348/0.003701, allocations: 243.8 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.155e-05/0.003742, allocations: 123.6 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.003774, allocations: 11.03 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.211e-05/0.003786, allocations: 7.594 kB / 1.158 GB, free: 23.32 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (16) Notification: Performance of [SIM] Bindings: time 0.0005336/0.00432, allocations: 0.6966 MB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.022e-05/0.0044, allocations: 74.45 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004344/0.004834, allocations: 0.5049 MB / 1.159 GB, free: 22.42 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001829/0.005017, allocations: 204.6 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005591/0.005576, allocations: 0.4927 MB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001549/0.005731, allocations: 194.8 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000107/0.005838, allocations: 146.1 kB / 1.16 GB, free: 21.7 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000215/0.006053, allocations: 234.8 kB / 1.16 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.325e-05/0.006126, allocations: 43.64 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001166/0.006243, allocations: 142.9 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002093/0.006452, allocations: 200.2 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002335/0.006686, allocations: 351.7 kB / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003557/0.007041, allocations: 348.3 kB / 1.161 GB, free: 20.82 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003326/0.007374, allocations: 469.9 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.6e-05/0.00739, allocations: 13.61 kB / 1.162 GB, free: 20.57 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.415e-05/0.007454, allocations: 74.45 kB / 1.162 GB, free: 20.53 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003767/0.007831, allocations: 296.1 kB / 1.162 GB, free: 20.46 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.057e-05/0.007841, allocations: 10.28 kB / 1.162 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.007842, allocations: 1 kB / 1.162 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.149e-06/0.007847, allocations: 5.156 kB / 1.162 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.927e-06/0.007851, allocations: 10.72 kB / 1.162 GB, free: 20.44 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.444e-06/0.007858, allocations: 1.562 kB / 1.162 GB, free: 20.44 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001845/0.008043, allocations: 176.6 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.000123/0.008166, allocations: 0.5221 MB / 1.163 GB, free: 19.78 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 3 * 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: ............................. 3 (3) {intDef.y, intWitRes1.y, intWitRes2.y} * Number of discrete states: .................... 1 (1) {booleanPulse.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {intWitRes1.trigger, $TEV_4, $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: ........... 10 (scalar:10, 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: ........... 20 (scalar:20, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 4.79e-05/0.008214, allocations: 37.39 kB / 1.163 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005677/0.008781, allocations: 0.5386 MB / 1.164 GB, free: 19.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.004073/0.01285, allocations: 1.835 MB / 1.165 GB, free: 19.18 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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: 7.1721264170482755]