Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001568/0.001568, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001755/0.001755, allocations: 210.7 kB / 23.06 MB, free: 4.984 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.368/1.368, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.569/2.569, allocations: 476 MB / 0.7708 GB, free: 4.637 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/1.887e-05, allocations: 2.281 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001495/0.001514, allocations: 0.6608 MB / 1.119 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.002559, allocations: 1.107 MB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.002601, allocations: 1.375 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.002623, allocations: 3.938 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.002682, allocations: 11.62 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.00292, allocations: 53.34 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.003012, allocations: 70.67 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.003093, allocations: 9.125 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.003148, allocations: 31.72 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.003201, allocations: 32.67 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003217, allocations: 5.344 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.003272, allocations: 24.08 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.869e-05/0.003351, allocations: 110 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.378e-05/0.003375, allocations: 62 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.003395, allocations: 4.875 kB / 1.12 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.035e-05/0.003405, allocations: 7 kB / 1.12 GB, free: 40.83 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0003777/0.003783, allocations: 439.5 kB / 1.12 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.09e-05/0.003834, allocations: 61.69 kB / 1.121 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002295/0.004064, allocations: 289.7 kB / 1.121 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.835e-05/0.004142, allocations: 104.3 kB / 1.121 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003125/0.004454, allocations: 283.7 kB / 1.121 GB, free: 40.14 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.73e-05/0.004522, allocations: 102.2 kB / 1.121 GB, free: 40.05 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.221e-05/0.004554, allocations: 58.67 kB / 1.121 GB, free: 39.99 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001415/0.004695, allocations: 165.6 kB / 1.121 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.468e-05/0.00476, allocations: 36.92 kB / 1.122 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001062/0.004866, allocations: 106.8 kB / 1.122 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002153/0.005082, allocations: 179.8 kB / 1.122 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001156/0.005197, allocations: 210.2 kB / 1.122 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001978/0.005395, allocations: 197.3 kB / 1.122 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000175/0.00557, allocations: 313.4 kB / 1.122 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.498e-05/0.005585, allocations: 18.86 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.963e-05/0.005615, allocations: 54.69 kB / 1.123 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003162/0.005931, allocations: 297.6 kB / 1.123 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.368e-06/0.00594, allocations: 7.188 kB / 1.123 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.005941, allocations: 0.5 kB / 1.123 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.441e-05/0.005995, allocations: 43.84 kB / 1.123 GB, free: 39.56 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.687e-06/0.005999, allocations: 0 / 1.123 GB, free: 39.56 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.596e-06/0.006002, allocations: 10.19 kB / 1.123 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.969e-06/0.006007, allocations: 2.938 kB / 1.123 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001871/0.006194, allocations: 194.8 kB / 1.123 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.87e-05/0.006273, allocations: 180.1 kB / 1.123 GB, free: 39.36 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 19 (scalar:19, 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 4.824e-05/0.006321, allocations: 19.06 kB / 1.123 GB, free: 39.35 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003876/0.006709, allocations: 338.2 kB / 1.124 GB, free: 39.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.002913/0.009622, allocations: 0.9225 MB / 1.124 GB, free: 39.17 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.649457608000375] Failed to read output from testmodel.py, exit status != 0: 0.4683078169473447 0.025123963000000003 0.019643076000000002 Calling exit ...