Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.001239/0.001239, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001308/0.001308, allocations: 215.6 kB / 23.07 MB, free: 4.844 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.34/1.34, allocations: 230.7 MB / 256.9 MB, free: 7.766 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.916/2.916, allocations: 0.4893 GB / 0.7952 GB, free: 35.62 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.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/1.988e-05, allocations: 2.281 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002648/0.002668, allocations: 1.897 MB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.004628, allocations: 1.698 MB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.004813, allocations: 13.91 kB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.00504, allocations: 88.16 kB / 1.158 GB, free: 22.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.005239, allocations: 90.02 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.006054, allocations: 427.1 kB / 1.159 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007447/0.006799, allocations: 0.8577 MB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.007188, allocations: 241.1 kB / 1.16 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.007474, allocations: 307.6 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.007758, allocations: 278.5 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.00788, allocations: 86.62 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.008032, allocations: 95.36 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006303/0.008663, allocations: 1.272 MB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003031/0.008966, allocations: 0.7536 MB / 1.162 GB, free: 20.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.85e-05/0.009064, allocations: 45.09 kB / 1.162 GB, free: 20.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.975e-05/0.009144, allocations: 41.81 kB / 1.162 GB, free: 20.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: 131 (131) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.002342/0.01149, allocations: 3.031 MB / 1.165 GB, free: 18.16 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002462/0.01173, allocations: 312.4 kB / 1.166 GB, free: 17.96 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001586/0.01332, allocations: 1.997 MB / 1.168 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005856/0.0139, allocations: 470.6 kB / 1.168 GB, free: 16.5 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003312/0.01722, allocations: 3.182 MB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0004029/0.01762, allocations: 379.1 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002478/0.01787, allocations: 283.4 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004423/0.01831, allocations: 0.4925 MB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.061e-05/0.0184, allocations: 57.92 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003792/0.01878, allocations: 364.7 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0008248/0.0196, allocations: 0.6897 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007386/0.02034, allocations: 0.988 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001388/0.02173, allocations: 1.145 MB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001287/0.02302, allocations: 1.762 MB / 1.177 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.516e-05/0.02309, allocations: 47.69 kB / 1.177 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0003412/0.02343, allocations: 457 kB / 1.178 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00448/0.02791, allocations: 3.667 MB / 1.181 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 5.146e-05/0.02797, allocations: 113.8 kB / 1.181 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.202e-06/0.02797, allocations: 0 / 1.181 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003465/0.02831, allocations: 281.3 kB / 1.182 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.811e-06/0.02832, allocations: 5.062 kB / 1.182 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.85e-05/0.02834, allocations: 48.78 kB / 1.182 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.749e-06/0.02835, allocations: 6.219 kB / 1.182 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001364/0.02971, allocations: 1.197 MB / 1.183 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0005643/0.03028, allocations: 0.723 MB / 1.184 GB, free: 9.004 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: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {pidSca.addPID.u2, pidSca.D.x, pla1.y, pidNoSca.addPID.u2, pidNoSca.D.x, pla2.y} * Number of discrete states: .................... 2 (2) {booPul.y, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {pidSca.trigger, $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: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.368e-05/0.03033, allocations: 69.25 kB / 1.184 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002429/0.03276, allocations: 2.414 MB / 1.186 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of Templates: time 0.01171/0.04447, allocations: 6.379 MB / 1.192 GB, free: 7.047 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.685946301033255] Failed to read output from testmodel.py, exit status != 0: 0.0507480600499548 0.061342813 0.049811419 Calling exit ...