Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.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.001484/0.001484, 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.00161/0.00161, allocations: 216.4 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.326/1.326, allocations: 230.6 MB / 256.9 MB, free: 7.773 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.904/2.904, 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.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.708e-05, allocations: 2.281 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.007589/0.007606, allocations: 7.17 MB / 1.161 GB, free: 20.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.01298, allocations: 3.134 MB / 1.164 GB, free: 18.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.01413, allocations: 67.19 kB / 1.165 GB, free: 18.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.01485, allocations: 362.6 kB / 1.165 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000677/0.01552, allocations: 291.4 kB / 1.165 GB, free: 17.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.01719, allocations: 1.311 MB / 1.166 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.01986, allocations: 3.643 MB / 1.17 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.02173, allocations: 1.353 MB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/0.02269, allocations: 1.177 MB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.02344, allocations: 1.029 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.02387, allocations: 445.6 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.02432, allocations: 466.1 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.002127/0.02645, allocations: 5.143 MB / 1.179 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.001091/0.02754, allocations: 3.13 MB / 1.182 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.02789, allocations: 164.7 kB / 1.183 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0004896/0.02838, allocations: 186.9 kB / 1.183 GB, free: 6.273 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: 647 (647) * Number of variables: 647 (647) Notification: Performance of [SIM] Bindings: time 0.008821/0.03721, allocations: 11.82 MB / 1.194 GB, free: 13.75 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.002167/0.03937, allocations: 1.767 MB / 1.196 GB, free: 12.54 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.01054/0.04991, allocations: 8.852 MB / 1.205 GB, free: 6.363 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.003158/0.05307, allocations: 1.158 MB / 1.206 GB, free: 5.828 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.02383/0.0769, allocations: 15.65 MB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.001147/0.07805, allocations: 0.6714 MB / 1.222 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.0006239/0.07868, allocations: 0.5128 MB / 1.222 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.001674/0.08035, allocations: 1.405 MB / 1.224 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.0007266/0.08108, allocations: 0.4965 MB / 1.224 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.001898/0.08297, allocations: 1.582 MB / 1.226 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of [SIM] Causalize: time 0.004585/0.08756, allocations: 3.508 MB / 1.229 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003728/0.09129, allocations: 3.703 MB / 1.233 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of [INI] Simplify: time 0.005028/0.09631, allocations: 3.069 MB / 1.236 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of [INI] Inline: time 0.006623/0.1029, allocations: 6.635 MB / 1.242 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of [INI] Partitioning: time 0.0004113/0.1033, allocations: 131.4 kB / 1.242 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of [INI] Cleanup: time 0.001554/0.1049, allocations: 1.529 MB / 1.244 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of [INI] Causalize: time 0.03281/0.1377, allocations: 23.16 MB / 1.266 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of [INI] Tearing: time 0.0003046/0.138, allocations: 456 kB / 1.267 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of [SIM] Initialization: time 1.443e-06/0.138, allocations: 0 / 1.267 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of [SIM] DAE-Mode: time 0.001195/0.1392, allocations: 0.8167 MB / 1.268 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of [SIM] Remove Dummies: time 1.227e-05/0.1392, allocations: 2 kB / 1.268 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of [SIM] Tearing: time 0.0001028/0.1393, allocations: 172 kB / 1.268 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of [SIM] Categorize: time 2.944e-05/0.1394, allocations: 11.94 kB / 1.268 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of [SIM] Solve: time 0.006243/0.1456, allocations: 4.279 MB / 1.272 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of [SIM] Jacobian: time 0.00226/0.1479, allocations: 2.01 MB / 1.274 GB, free: 4.383 MB / 0.9669 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * 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: ............................. 7 (7) {PIDWitTun.con.addPID.u2, PIDWitTun.con.D.x, PIDWitTun.conProMod.gain.divIyIu.u1, PID.addPID.u2, PID.D.x, derivative1.x, derivative2.x} * Number of discrete states: .................... 24 (24) {autTunSig.y, uniDel1.y, uniDel1.u_internal, sub2.u1, uniDel2.u_internal, PIDWitTun.sam_u_s.y, PIDWitTun.tunStaDel.y, PIDWitTun.tunStaDel.t_next, PIDWitTun.samTd.y, PIDWitTun.samTi.y, PIDWitTun.samk.y, PIDWitTun.swi.u2, PIDWitTun.conProMod.gai.u, PIDWitTun.conProMod.T, PIDWitTun.conProMod.samtOn.y, PIDWitTun.conProMod.L, PIDWitTun.conProMod.k, PIDWitTun.resPro.tunMon.sub.u2, PIDWitTun.resPro.halPerRatio.maxtOntOff.u2, PIDWitTun.resPro.halPerRatio.maxtOntOff.u1, PIDWitTun.resPro.tOff, PIDWitTun.conProMod.tOn, PIDWitTun.resPro.onOffPer.lenOnCal.u1, PIDWitTun.resPro.onOffPer.lenOffCal.u1} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 82 (82) {PIDWitTun.con.greThrkTd.greHys.y, PIDWitTun.con.assMeskTd.u, PIDWitTun.rel.yOn, PIDWitTun.rel.hys.y, PIDWitTun.resPro.onOffPer.timOnRec.samTri.y, PIDWitTun.resPro.onOffPer.timOnRec.swi.u2, PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u, PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u, PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y, PIDWitTun.resPro.onOffPer.timOffRec.samTri.y, PIDWitTun.resPro.onOffPer.timOffRec.swi.u2, PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u, PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u, PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y, PIDWitTun.resPro.norTimDel.gre.greHys.y, PIDWitTun.resPro.norTimDel.or2.u1, PIDWitTun.resPro.norTimDel.or2.y, PIDWitTun.resPro.tunMon.samAddtOntOff.trigger, PIDWitTun.resPro.tunMon.tCha.u1, PIDWitTun.resPro.tunMon.tCha.u2, PIDWitTun.resPro.tunMon.tCha.y, PIDWitTun.resPro.tunMon.edgTunSta.u, PIDWitTun.resPro.tunMon.edgTunEnd.u, PIDWitTun.conProMod.triSta, PIDWitTun.conProMod.timConDel.gre1.greHys.y, PIDWitTun.conProMod.timConDel.edg.u, PIDWitTun.conProMod.not1.u, PIDWitTun.conProMod.nand1.y, PIDWitTun.samk.trigger, PIDWitTun.assMes2.u, PIDWitTun.nand.u2, PIDWitTun.nand.y, PIDWitTun.edgReq.u, PIDWitTun.tunStaDel.u, PIDWitTun.nand1.u1, PIDWitTun.greThr.greHys.y, PIDWitTun.falEdg.y, PIDWitTun.falEdg.not_u, PIDWitTun.or2.u2, PIDWitTun.or2.y, PIDWitTun.and2.u2, uniDel2.sampleTrigger, uniDel1.sampleTrigger, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $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: ........... 201 (scalar:201, array:0, record:0) * Number of multi strong components: ............ 24 (algorithm:0, when:24, 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: ........... 446 (scalar:446, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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: ........... 446 (scalar:446, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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.0002321/0.1481, allocations: 217.8 kB / 1.274 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0116/0.1597, allocations: 10.93 MB / 1.285 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of Templates: time 0.03238/0.1921, allocations: 19.71 MB / 1.304 GB, free: 5.445 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.41062947298633] Failed to read output from testmodel.py, exit status != 0: 0.19886901002610102 0.21207079399999995 0.180943202 Calling exit ...