Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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.001383/0.001383, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001774/0.001774, allocations: 211.8 kB / 23.01 MB, free: 4.93 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.374/3.374, allocations: 0.49 GB / 0.7958 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=126789,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=126789,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.204e-05, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.005678/0.0057, allocations: 4.326 MB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006003/0.0117, allocations: 3.265 MB / 1.162 GB, free: 20.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.01309, allocations: 39.41 kB / 1.162 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.01383, allocations: 247.3 kB / 1.163 GB, free: 19.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.01528, allocations: 0.5232 MB / 1.163 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.01702, allocations: 0.7144 MB / 1.164 GB, free: 19.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00238/0.0194, allocations: 1.962 MB / 1.166 GB, free: 18.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.02006, allocations: 329.9 kB / 1.166 GB, free: 18.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.02127, allocations: 0.8501 MB / 1.167 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02935/0.05062, allocations: 3.929 MB / 1.171 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006738/0.0513, allocations: 125.7 kB / 1.171 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.05218, allocations: 259.4 kB / 1.171 GB, free: 16.41 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00177/0.05395, allocations: 2.639 MB / 1.174 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0009655/0.05492, allocations: 1.652 MB / 1.175 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.05524, allocations: 80.62 kB / 1.175 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0004346/0.05567, allocations: 71.8 kB / 1.175 GB, free: 13.36 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: 181 (181) * Number of variables: 181 (177) Notification: Performance of [SIM] Bindings: time 0.004969/0.06064, allocations: 5.607 MB / 1.181 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006653/0.0613, allocations: 0.518 MB / 1.181 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.002837/0.06414, allocations: 2.8 MB / 1.184 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.001097/0.06524, allocations: 0.6068 MB / 1.185 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.007248/0.07249, allocations: 4.171 MB / 1.189 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0008837/0.07337, allocations: 490.4 kB / 1.189 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0004436/0.07381, allocations: 358.3 kB / 1.19 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.001038/0.07485, allocations: 0.7409 MB / 1.19 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0004985/0.07535, allocations: 317.1 kB / 1.191 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.001072/0.07642, allocations: 0.8499 MB / 1.192 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002474/0.0789, allocations: 1.638 MB / 1.193 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002223/0.08112, allocations: 1.9 MB / 1.195 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0103/0.09142, allocations: 2.296 MB / 1.197 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.004019/0.09544, allocations: 3.224 MB / 1.2 GB, free: 14.85 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0002037/0.09564, allocations: 78.03 kB / 1.2 GB, free: 14.8 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.001077/0.09672, allocations: 0.7593 MB / 1.201 GB, free: 14.34 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01896/0.1157, allocations: 10.22 MB / 1.211 GB, free: 11.79 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.0002117/0.1159, allocations: 220.2 kB / 1.211 GB, free: 11.63 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 2.214e-06/0.1159, allocations: 4.875 kB / 1.211 GB, free: 11.62 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 3.82e-05/0.1159, allocations: 1.969 kB / 1.211 GB, free: 11.62 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 5.262e-05/0.116, allocations: 64.88 kB / 1.211 GB, free: 11.58 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 4.908e-05/0.116, allocations: 9.891 kB / 1.211 GB, free: 11.57 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.003051/0.1191, allocations: 1.271 MB / 1.213 GB, free: 11.06 MB / 0.92 GB Notification: Performance of [SIM] Jacobian: time 0.001006/0.1201, allocations: 0.5844 MB / 1.213 GB, free: 10.69 MB / 0.92 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: ......... 7 * 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: ............................. 1 (1) {cooValSta.limPI.addPID.u2} * Number of discrete states: .................... 17 (17) {timSerInp.tActivateLast, timSerInp.timeConverted, timSerRes.tActivateLast, timSerRes.timeConverted, correlation.tActivateLast, TSupply_F.nextTimeEvent, TSupply_F.nextTimeEventScaled, fanStatus.nextTimeEvent, fanStatus.nextTimeEventScaled, fanFeedback.nextTimeEvent, fanFeedback.nextTimeEventScaled, coolingValveSignal.nextTimeEvent, coolingValveSignal.nextTimeEventScaled, TSupSetpoint_F.nextTimeEvent, TSupSetpoint_F.nextTimeEventScaled, TOut_F.nextTimeEvent, TOut_F.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 48 (48) {cooValSta.uFanSta, cooValSta.TOutThr.y, cooValSta.uFanFeeThr.y, cooValSta.andOutAirFanFee.y, cooValSta.cha.u, cooValSta.cha.y, csvWriter.str, csvWriter.sampleTrigger, correlation.active, correlation.sampleTrigger, timSerRes.active, timSerRes.sampleTrigger, timSerInp.active, timSerInp.activate_internal, timSerInp.sampleTrigger, $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_10, $TEV_9, $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) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 100 (scalar:100, array:0, record:0) * Number of multi strong components: ............ 18 (algorithm:1, when:17, 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: ........... 206 (scalar:196, array:0, record:10) * Number of multi strong components: ............ 16 (algorithm:16, 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: ........... 206 (scalar:196, array:0, record:10) * Number of multi strong components: ............ 16 (algorithm:16, 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.0002059/0.1203, allocations: 136.8 kB / 1.213 GB, free: 10.57 MB / 0.92 GB Notification: Performance of SimCode: time 0.009845/0.1301, allocations: 4.649 MB / 1.218 GB, free: 8.418 MB / 0.92 GB Notification: Performance of Templates: time 0.03037/0.1605, allocations: 13.02 MB / 1.231 GB, free: 3.25 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources" -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_12_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=1 -c -o Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.o Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.c Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.c:660:153: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[20]] /* $SEV_15 DISCRETE */) = (modelica_integer_mod(((modelica_integer) 1) + i, tmp12) == ((modelica_integer) 0)); ^ 1 error generated. make: *** [: Buildings_12_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.o] Error 1 [Calling os._exit(0), Time elapsed: 7.491661599371582] Failed to read output from testmodel.py, exit status != 0: 0.1686889878474176 0.182973763 0.12401389600000001 Calling exit ...