Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.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.001504/0.001504, 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.001648/0.001648, allocations: 213.2 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.324/1.324, allocations: 230.6 MB / 256.9 MB, free: 7.734 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.853/2.853, allocations: 0.4893 GB / 0.7952 GB, free: 35.61 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.ReverseActingPIDWithFirstOrderAMIGO,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.ReverseActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,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.ReverseActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.377e-05, allocations: 4.953 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.007474/0.007487, allocations: 7.125 MB / 1.161 GB, free: 20.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004975/0.01246, allocations: 3.115 MB / 1.164 GB, free: 18.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.01376, allocations: 69.38 kB / 1.164 GB, free: 18.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.01447, allocations: 360.6 kB / 1.165 GB, free: 18.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007342/0.0152, allocations: 295 kB / 1.165 GB, free: 17.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.01691, allocations: 1.306 MB / 1.166 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.01961, allocations: 3.622 MB / 1.17 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.02139, allocations: 1.341 MB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009889/0.02238, allocations: 1.161 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.02318, allocations: 1.025 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.0236, allocations: 443.8 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.02405, allocations: 464.5 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.002048/0.0261, allocations: 5.101 MB / 1.179 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.001097/0.0272, allocations: 3.11 MB / 1.182 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.02755, allocations: 164.9 kB / 1.182 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0004602/0.02801, allocations: 182.4 kB / 1.183 GB, free: 6.441 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: 640 (640) * Number of variables: 640 (640) Notification: Performance of [SIM] Bindings: time 0.008351/0.03636, allocations: 11.71 MB / 1.194 GB, free: 13.99 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.001957/0.03832, allocations: 1.765 MB / 1.196 GB, free: 12.78 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.009879/0.0482, allocations: 8.788 MB / 1.204 GB, free: 6.641 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.00324/0.05144, allocations: 1.153 MB / 1.205 GB, free: 6.102 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.0237/0.07513, allocations: 15.52 MB / 1.221 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.001107/0.07624, allocations: 0.6547 MB / 1.221 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.000581/0.07682, allocations: 0.5154 MB / 1.222 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.001617/0.07844, allocations: 1.407 MB / 1.223 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.0006963/0.07914, allocations: 0.4891 MB / 1.224 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.001883/0.08102, allocations: 1.572 MB / 1.225 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of [SIM] Causalize: time 0.004588/0.08561, allocations: 3.468 MB / 1.229 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003703/0.08931, allocations: 3.691 MB / 1.232 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of [INI] Simplify: time 0.005104/0.09441, allocations: 3.037 MB / 1.235 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of [INI] Inline: time 0.006726/0.1011, allocations: 6.593 MB / 1.242 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of [INI] Partitioning: time 0.0003938/0.1015, allocations: 130.8 kB / 1.242 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of [INI] Cleanup: time 0.001503/0.103, allocations: 1.51 MB / 1.243 GB, free: 292 kB / 0.9356 GB Notification: Performance of [INI] Causalize: time 0.03325/0.1363, allocations: 22.98 MB / 1.266 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of [INI] Tearing: time 0.0002897/0.1366, allocations: 448 kB / 1.266 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of [SIM] Initialization: time 2.043e-06/0.1366, allocations: 0 / 1.266 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of [SIM] DAE-Mode: time 0.001148/0.1377, allocations: 0.8053 MB / 1.267 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of [SIM] Remove Dummies: time 1.472e-05/0.1377, allocations: 6 kB / 1.267 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of [SIM] Tearing: time 0.0001025/0.1378, allocations: 179.9 kB / 1.267 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of [SIM] Categorize: time 3.597e-05/0.1379, allocations: 11.98 kB / 1.267 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of [SIM] Solve: time 0.005969/0.1438, allocations: 4.233 MB / 1.271 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of [SIM] Jacobian: time 0.002085/0.1459, allocations: 1.989 MB / 1.273 GB, free: 5.32 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, sub1.u1, 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: ........... 199 (scalar:199, 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: ........... 441 (scalar:441, 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: ........... 441 (scalar:441, 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.0002245/0.1462, allocations: 222 kB / 1.273 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of SimCode: time 0.01082/0.157, allocations: 10.88 MB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.03292/0.1899, allocations: 19.57 MB / 1.303 GB, free: 6.578 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.23767417401541] Failed to read output from testmodel.py, exit status != 0: 0.1971664690063335 0.210392977 0.179656709 Calling exit ...