Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001479/0.001479, 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.001594/0.001594, allocations: 214.5 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.333/1.333, allocations: 230.7 MB / 256.9 MB, free: 7.742 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 2.896/2.896, allocations: 0.4893 GB / 0.7952 GB, free: 35.74 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.409e-05, allocations: 2.281 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001438/0.001452, allocations: 0.6759 MB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002539, allocations: 1.097 MB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.002582, allocations: 0 / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.002604, allocations: 5.828 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.002661, allocations: 10.86 kB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.002902, allocations: 46.95 kB / 1.156 GB, free: 24.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.003, allocations: 79.3 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.003082, allocations: 14.97 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.003137, allocations: 27.42 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.003186, allocations: 33.39 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.003202, allocations: 11.16 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.00326, allocations: 21.88 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.144e-05/0.003341, allocations: 115.8 kB / 1.156 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.017e-05/0.003361, allocations: 55.84 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003378, allocations: 4.312 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.051e-05/0.003389, allocations: 10.91 kB / 1.157 GB, free: 24.04 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.0004276/0.003817, allocations: 433.2 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.357e-05/0.00388, allocations: 56.33 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002951/0.004175, allocations: 296.7 kB / 1.157 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.141e-05/0.004267, allocations: 102.3 kB / 1.157 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003528/0.004619, allocations: 265.6 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.439e-05/0.004714, allocations: 107 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.2e-05/0.004756, allocations: 60.69 kB / 1.158 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001655/0.004921, allocations: 167.3 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.182e-05/0.004993, allocations: 36.88 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001227/0.005116, allocations: 103 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002589/0.005375, allocations: 182.5 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001652/0.00554, allocations: 214.8 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002335/0.005773, allocations: 194.6 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002351/0.006008, allocations: 317.3 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.957e-05/0.006028, allocations: 21.67 kB / 1.159 GB, free: 22.17 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.299e-05/0.006071, allocations: 49.81 kB / 1.159 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003933/0.006464, allocations: 297.4 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.224e-05/0.006477, allocations: 11.41 kB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.006477, allocations: 0 / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 6.124e-05/0.006538, allocations: 50.95 kB / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.557e-06/0.006542, allocations: 0 / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.958e-06/0.006546, allocations: 7.281 kB / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.761e-06/0.006551, allocations: 1.156 kB / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002303/0.006782, allocations: 187.7 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.961e-05/0.006871, allocations: 183.1 kB / 1.16 GB, free: 21.77 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 5.489e-05/0.006926, allocations: 35.19 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000445/0.007371, allocations: 334.8 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of Templates: time 0.003215/0.01059, allocations: 0.9219 MB / 1.161 GB, free: 21.42 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.580205083999317] Failed to read output from testmodel.py, exit status != 0: 0.016943933034781367 0.028277046 0.022609558000000002 Calling exit ...