Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.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.001825/0.001825, allocations: 80.88 kB / 21.56 MB, free: 2.934 MB / 18.57 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.001919/0.001919, allocations: 166.4 kB / 24.97 MB, free: 9.195 MB / 18.57 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.624/1.624, allocations: 177.1 MB / 205.4 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.228/3.228, allocations: 389.5 MB / 0.6361 GB, free: 12.35 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.907e-05/4.907e-05, allocations: 5.266 kB / 0.7759 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.01168/0.01173, allocations: 5.008 MB / 0.7808 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.02236, allocations: 2.984 MB / 0.7837 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.02457, allocations: 39.25 kB / 0.7838 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.02633, allocations: 325.9 kB / 0.7841 GB, free: 13.1 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.02858, allocations: 323.4 kB / 0.7844 GB, free: 12.78 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.03138, allocations: 0.5473 MB / 0.7849 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.00557/0.03695, allocations: 2.791 MB / 0.7877 GB, free: 9.461 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.03967, allocations: 0.5682 MB / 0.7882 GB, free: 8.859 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004736/0.04441, allocations: 0.9881 MB / 0.7892 GB, free: 7.891 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.04579, allocations: 0.5817 MB / 0.7897 GB, free: 7.309 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.04637, allocations: 153.4 kB / 0.7899 GB, free: 7.16 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.04718, allocations: 235.8 kB / 0.7901 GB, free: 6.93 MB / 0.7449 GB Notification: Performance of combineBinaries: time 0.002615/0.0498, allocations: 1.763 MB / 0.7918 GB, free: 5.156 MB / 0.7449 GB Notification: Performance of replaceArrayConstructors: time 0.001307/0.0511, allocations: 0.9707 MB / 0.7928 GB, free: 4.184 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.05145, allocations: 67.25 kB / 0.7928 GB, free: 4.121 MB / 0.7449 GB Notification: Performance of FrontEnd: time 0.000359/0.05181, allocations: 59.48 kB / 0.7929 GB, free: 4.062 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 (208) * Number of variables: 250 (163) Notification: Performance of [SIM] Bindings: time 0.008855/0.06066, allocations: 5.769 MB / 0.7985 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of [SIM] FunctionAlias: time 0.001883/0.06255, allocations: 0.914 MB / 0.7994 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of [SIM] Early Inline: time 0.006834/0.06938, allocations: 4.714 MB / 0.804 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 1: time 0.0009309/0.07031, allocations: 438.3 kB / 0.8045 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of [SIM] Alias: time 0.008463/0.07877, allocations: 4.135 MB / 0.8085 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 2: time 0.001325/0.0801, allocations: 386.8 kB / 0.8089 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of [SIM] Remove Stream: time 0.0005775/0.08068, allocations: 343 kB / 0.8092 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of [SIM] Detect States: time 0.001762/0.08244, allocations: 1.014 MB / 0.8102 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of [SIM] Events: time 0.000655/0.08309, allocations: 412.5 kB / 0.8106 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of [SIM] Partitioning: time 0.002127/0.08522, allocations: 1.316 MB / 0.8119 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of [SIM] Causalize: time 0.003784/0.089, allocations: 2.245 MB / 0.814 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004256/0.09326, allocations: 3.029 MB / 0.817 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of [INI] Simplify: time 0.005285/0.09855, allocations: 2.679 MB / 0.8196 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of [INI] Inline: time 0.0081/0.1066, allocations: 5.723 MB / 0.8252 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of [INI] Partitioning: time 0.0002418/0.1069, allocations: 64.03 kB / 0.8253 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of [INI] Cleanup: time 0.001556/0.1084, allocations: 1.261 MB / 0.8265 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of [INI] Causalize: time 0.01448/0.1229, allocations: 8.278 MB / 0.8346 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of [INI] Tearing: time 0.0001989/0.1231, allocations: 184.2 kB / 0.8348 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of [SIM] Initialization: time 2.174e-06/0.1231, allocations: 0 / 0.8348 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of [SIM] Remove Dummies: time 1.75e-05/0.1231, allocations: 1.312 kB / 0.8348 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of [SIM] Tearing: time 6.668e-05/0.1232, allocations: 80 kB / 0.8348 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of [SIM] Categorize: time 1.671e-05/0.1232, allocations: 4 kB / 0.8348 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of [SIM] Solve: time 0.002473/0.1257, allocations: 1.057 MB / 0.8359 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of [SIM] Jacobian: time 0.002865/0.1286, allocations: 1.429 MB / 0.8373 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.298e-05/0.1286, allocations: 7.938 kB / 0.8373 GB, free: 5.418 MB / 0.7917 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: ......... 2 * 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: ............................. 3 (2) {ctlDpRem.ctlDpRem.conPID.I.y, ctlDpLoc.ctlDpLoc.conPID.addPID.u2} * Number of discrete states: .................... 5 (4) {y1Pum.intTimTab.y, y1Pum.intTimTab.idx, ratDp.tab.nextTimeEvent, ratDp.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 39 (25) {y1Pum.y, ctlDpRem.y1_actual, ctlDpRem.anyOn.y, ctlDpRem.anyOn.uTemp, ctlDpRem.repEna.y, ctlDpRem.ctlDpRem.conPID.trigger, ctlDpRem.ctlDpRem.conPID.I.trigger, ctlDpRem.ctlDpRem.conPID.assMesYMinMax.u, ctlDpRem.ctlDpRem.swiInp.u2, ctlDpRem.ctlDpRem.swiOut.u2, ctlDpLoc.y1_actual, ctlDpLoc.anyOn.uTemp, ctlDpLoc.repEna.u, ctlDpLoc.repEna.y, $SEV_1, $SEV_0, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: y1Pum.intTimTab.y[:] ### Equation: [WHEN] (2) ($RES_SIM_100) [----] when {$TEV_4, $TEV_5, $TEV_6, $TEV_7} then [----] y1Pum.intTimTab.y[:] := y1Pum.intTimTab.val[y1Pum.intTimTab.idx, :] [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 120 (scalar:120, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 30 (resizable: 30, 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: ........... 143 (scalar:141, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (resizable: 33, 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: ........... 143 (scalar:141, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (resizable: 33, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001776/0.1288, allocations: 117.6 kB / 0.8374 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of SimCode: time 0.0144/0.1431, allocations: 5.464 MB / 0.8427 GB, free: 15.93 MB / 0.8074 GB Notification: Performance of Templates: time 0.04007/0.1832, allocations: 13.29 MB / 0.8557 GB, free: 2.84 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile [Timeout 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -Wno-error=implicit-function-declaration -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_13_Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ControlDifferentialPressure -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.o Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.c Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.c:544:127: error: use of undeclared identifier '_omcQ_24i69'; did you mean '_omcQ_24i1'? 544 | (&data->localData[0]->realVars[0] /* ctlDpRem.ctlDpRem[1].conPID.I.y STATE(1,der(ctlDpRem.ctlDpRem.conPID.I.y)) */)[_omcQ_24i69 - 1] = (&data->localData[0]->realVars[35] /* ctlDpRem.ctlDpRem[1].conPID.I.y_reset_in variable */)[_omcQ_24i1 - 1]; | ^~~~~~~~~~~ | _omcQ_24i1 Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.c:536:22: note: '_omcQ_24i1' declared here 536 | modelica_integer _omcQ_24i1; | ^ Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.c:545:310: error: use of undeclared identifier '_omcQ_24i69'; did you mean '_omcQ_24i1'? 545 | infoStreamPrint(OMC_LOG_EVENTS, 0, "reinit (&data->localData[0]->realVars[0] /* ctlDpRem.ctlDpRem[1].conPID.I.y STATE(1,der(ctlDpRem.ctlDpRem.conPID.I.y)) */)[_omcQ_24i69 - 1] = %f", (&data->localData[0]->realVars[0] /* ctlDpRem.ctlDpRem[1].conPID.I.y STATE(1,der(ctlDpRem.ctlDpRem.conPID.I.y)) */)[_omcQ_24i69 - 1]); | ^~~~~~~~~~~ | _omcQ_24i1 Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.c:536:22: note: '_omcQ_24i1' declared here 536 | modelica_integer _omcQ_24i1; | ^ 2 errors generated. make: *** [: Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.o] Error 1 [Calling os._exit(0), Time elapsed: 6.5894408244639635]