Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.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.002297/0.002297, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.002334/0.002334, allocations: 209.2 kB / 23.01 MB, free: 4.93 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.645/1.645, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.459/3.459, allocations: 0.49 GB / 0.7958 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.851e-05, allocations: 4.25 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002939/0.002968, allocations: 1.786 MB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004135, allocations: 0.5429 MB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004241, allocations: 6.969 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.004396, allocations: 25.58 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.004484, allocations: 30.45 kB / 1.157 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.004729, allocations: 64.67 kB / 1.157 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.004986, allocations: 208 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.005148, allocations: 41.12 kB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.005252, allocations: 78.58 kB / 1.158 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.005347, allocations: 56.11 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.005377, allocations: 10.09 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.005402, allocations: 9.875 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002253/0.005628, allocations: 290.7 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001024/0.00573, allocations: 193.5 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.005767, allocations: 12.44 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.518e-05/0.005802, allocations: 9.125 kB / 1.158 GB, free: 23.05 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.0008898/0.006692, allocations: 0.7353 MB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.951e-05/0.006771, allocations: 68 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002539/0.007025, allocations: 277.5 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001441/0.007169, allocations: 108.4 kB / 1.159 GB, free: 22.08 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008816/0.008051, allocations: 0.5594 MB / 1.16 GB, free: 21.67 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.278e-05/0.008144, allocations: 93.8 kB / 1.16 GB, free: 21.56 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.6e-05/0.00819, allocations: 52.64 kB / 1.16 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001997/0.008389, allocations: 138.1 kB / 1.16 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001156/0.008505, allocations: 55.03 kB / 1.16 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001747/0.00868, allocations: 166.6 kB / 1.16 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000326/0.009006, allocations: 231.9 kB / 1.161 GB, free: 21.02 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001745/0.00918, allocations: 191.8 kB / 1.161 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003737/0.009554, allocations: 237.8 kB / 1.161 GB, free: 20.71 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000266/0.00982, allocations: 277.5 kB / 1.161 GB, free: 20.56 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.276e-05/0.009843, allocations: 19.47 kB / 1.161 GB, free: 20.54 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.254e-05/0.009885, allocations: 48.56 kB / 1.161 GB, free: 20.51 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004682/0.01035, allocations: 292.9 kB / 1.162 GB, free: 20.43 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.737e-05/0.01037, allocations: 11.44 kB / 1.162 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.012e-06/0.01037, allocations: 1.062 kB / 1.162 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.015e-06/0.01038, allocations: 1.25 kB / 1.162 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 6.362e-06/0.01039, allocations: 11.38 kB / 1.162 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.304e-05/0.0104, allocations: 4.812 kB / 1.162 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001984/0.0106, allocations: 123.8 kB / 1.162 GB, free: 20.36 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0002497/0.01085, allocations: 0.6913 MB / 1.163 GB, free: 19.56 MB / 0.9044 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.0001201/0.01097, allocations: 39.48 kB / 1.163 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007854/0.01175, allocations: 0.5625 MB / 1.163 GB, free: 19.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.004291/0.01604, allocations: 1.032 MB / 1.164 GB, free: 19.02 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.312363595236093]