Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001561/0.001561, 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.001787/0.001787, allocations: 215.4 kB / 23.07 MB, free: 4.98 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.399/1.399, allocations: 230.6 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.032/3.032, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.142e-05, allocations: 4.109 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.008879/0.0089, allocations: 7.199 MB / 1.194 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00673/0.01563, allocations: 3.182 MB / 1.197 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.01821, allocations: 62.78 kB / 1.197 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.01928, allocations: 365.7 kB / 1.198 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.02063, allocations: 298.4 kB / 1.198 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.02324, allocations: 1.339 MB / 1.199 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.02763, allocations: 3.704 MB / 1.203 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.02986, allocations: 1.354 MB / 1.204 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.03125, allocations: 1.189 MB / 1.205 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.03233, allocations: 1.045 MB / 1.206 GB, free: 332 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005324/0.03286, allocations: 458 kB / 1.207 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.03344, allocations: 474.9 kB / 1.207 GB, free: 320 kB / 0.9044 GB Notification: Performance of combineBinaries: time 0.004275/0.03771, allocations: 5.195 MB / 1.212 GB, free: 12.41 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.00278/0.04049, allocations: 3.16 MB / 1.215 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.04125, allocations: 167.3 kB / 1.216 GB, free: 10.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0008615/0.04211, allocations: 188.2 kB / 1.216 GB, free: 9.992 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 (649) * Number of variables: 649 (649) Notification: Performance of [SIM] Bindings: time 0.01382/0.05593, allocations: 11.97 MB / 1.227 GB, free: 1.375 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.002336/0.05826, allocations: 1.632 MB / 1.229 GB, free: 240 kB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.01081/0.06907, allocations: 9.039 MB / 1.238 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 0.003372/0.07244, allocations: 1.175 MB / 1.239 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of [SIM] Alias: time 0.02645/0.09889, allocations: 15.8 MB / 1.254 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 0.001418/0.1003, allocations: 0.6863 MB / 1.255 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.0008424/0.1012, allocations: 0.548 MB / 1.256 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.002424/0.1036, allocations: 1.482 MB / 1.257 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 0.000967/0.1045, allocations: 0.4982 MB / 1.258 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.002288/0.1068, allocations: 1.655 MB / 1.259 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of [SIM] Causalize: time 0.005146/0.112, allocations: 3.595 MB / 1.263 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004016/0.116, allocations: 3.892 MB / 1.267 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.005741/0.1217, allocations: 3.11 MB / 1.27 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of [INI] Inline: time 0.007401/0.1291, allocations: 6.893 MB / 1.276 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of [INI] Partitioning: time 0.0006045/0.1297, allocations: 138.4 kB / 1.276 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of [INI] Cleanup: time 0.00202/0.1318, allocations: 1.576 MB / 1.278 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of [INI] Causalize: time 0.03875/0.1705, allocations: 23.64 MB / 1.301 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of [INI] Tearing: time 0.000308/0.1708, allocations: 464 kB / 1.301 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of [SIM] Initialization: time 1.943e-06/0.1708, allocations: 0 / 1.301 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of [SIM] DAE-Mode: time 0.001309/0.1721, allocations: 0.8292 MB / 1.302 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of [SIM] Remove Dummies: time 1.359e-05/0.1721, allocations: 2.234 kB / 1.302 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of [SIM] Tearing: time 0.000107/0.1722, allocations: 176 kB / 1.302 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of [SIM] Categorize: time 2.609e-05/0.1723, allocations: 11.94 kB / 1.302 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of [SIM] Solve: time 0.007159/0.1794, allocations: 4.333 MB / 1.307 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of [SIM] Jacobian: time 0.002425/0.1819, allocations: 2.038 MB / 1.309 GB, free: 3.758 MB / 0.9981 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: .................... 26 (26) {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.norTimDel.tunEndDel.y, PIDWitTun.resPro.norTimDel.tunEndDel.t_next, 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: ................. 85 (85) {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.norTimDel.tunEndDel.u, 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.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_37, $SEV_36, $SEV_35, $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: ........... 205 (scalar:205, array:0, record:0) * Number of multi strong components: ............ 26 (algorithm:0, when:26, 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: ........... 455 (scalar:455, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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: ........... 455 (scalar:455, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, 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.0002779/0.1821, allocations: 235 kB / 1.309 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of SimCode: time 0.01312/0.1953, allocations: 11.05 MB / 1.32 GB, free: 8.285 MB / 1.014 GB Notification: Performance of Templates: time 0.03708/0.2323, allocations: 20.09 MB / 1.339 GB, free: 4.312 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.826269867015071] Failed to read output from testmodel.py, exit status != 0: 0.24053786095464602 0.254147648 0.209116132 Calling exit ...