Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 103 kB / 16.37 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 191.3 kB / 17.3 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/2.897e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005515/0.005556, allocations: 4.176 MB / 0.677 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.009309, allocations: 2.307 MB / 0.6792 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007885/0.01012, allocations: 31.94 kB / 0.6793 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.01064, allocations: 209.5 kB / 0.6795 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.01098, allocations: 134.3 kB / 0.6796 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01226, allocations: 0.6507 MB / 0.6802 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.01382, allocations: 1.759 MB / 0.6819 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.01514, allocations: 1.065 MB / 0.683 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.01582, allocations: 0.5564 MB / 0.6835 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.01634, allocations: 0.6374 MB / 0.6842 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.01654, allocations: 184 kB / 0.6843 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.01679, allocations: 200 kB / 0.6845 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001456/0.01826, allocations: 2.215 MB / 0.6867 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0008619/0.01913, allocations: 1.419 MB / 0.6881 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.0195, allocations: 243.1 kB / 0.6883 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0003798/0.01989, allocations: 98.94 kB / 0.6884 GB, free: 5.855 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 (361) * Number of variables: 361 (361) Notification: Performance of Bindings: time 0.005836/0.02574, allocations: 6.684 MB / 0.6949 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0005744/0.02632, allocations: 0.5375 MB / 0.6954 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.003948/0.03028, allocations: 4.442 MB / 0.6998 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simplify1: time 0.000273/0.03057, allocations: 267.6 kB / 0.7 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of Alias: time 0.009352/0.03993, allocations: 8.614 MB / 0.7084 GB, free: 0 / 0.5762 GB Notification: Performance of simplify2: time 0.0002356/0.0402, allocations: 127.8 kB / 0.7086 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Events: time 0.0007171/0.04093, allocations: 0.6165 MB / 0.7092 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0005899/0.04153, allocations: 0.6499 MB / 0.7098 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0007597/0.0423, allocations: 0.7222 MB / 0.7105 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003892/0.0462, allocations: 4.138 MB / 0.7146 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002011/0.04823, allocations: 1.99 MB / 0.7165 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of Inline: time 0.005484/0.05372, allocations: 5.365 MB / 0.7217 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.000356/0.0541, allocations: 301 kB / 0.722 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001425/0.05425, allocations: 143.8 kB / 0.7222 GB, free: 1.812 MB / 0.5919 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (3) ($RES_SIM_0) [----] winSta.t0 := if $FUN_4 + winSta.period * integer(time / winSta.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_4 + winSta.period * integer(time / winSta.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_4 + winSta.period * integer(time / winSta.period))); [----] winSta.t1 := winSta.t0 + winSta.width * winSta.period; [----] if time + winSta.period < winSta.t1 then [----] winSta.t0 := winSta.t0 - winSta.period; [----] winSta.t1 := winSta.t1 - winSta.period; [----] end if; [----] if time >= winSta.t1 then [----] winSta.t0 := winSta.t0 + winSta.period; [----] elseif time < winSta.t0 then [----] winSta.t1 := winSta.t1 - winSta.period; [----] end if; [----] if winSta.t0 < winSta.t1 then [----] assert(winSta.t0 <= time and time < winSta.t1, "ActiveAirFlow.winSta: Implementation error in initial time calculation: t0 = " + String(winSta.t0, 6, 0, true) + ", t1 = " + String(winSta.t1, 6, 0, true) + ", period = " + String(winSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] actAirSet_RehBox.uWin := time >= winSta.t0 and time < winSta.t1; [----] elseif true then [----] assert(winSta.t1 <= time and time < winSta.t0, "ActiveAirFlow.winSta: Implementation error in initial time calculation: t0 = " + String(winSta.t0, 6, 0, true) + ", t1 = " + String(winSta.t1, 6, 0, true) + ", period = " + String(winSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] actAirSet_RehBox.uWin := not (time >= winSta.t1 and time < winSta.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.01828/0.07253, allocations: 20.34 MB / 0.742 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Tearing: time 1.657e-05/0.07259, allocations: 0 / 0.742 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Initialization: time 1.353e-06/0.0726, allocations: 0 / 0.742 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Tearing: time 1.046e-05/0.07261, allocations: 3.984 kB / 0.742 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Categorize: time 3.447e-05/0.07265, allocations: 8 kB / 0.742 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of Solve: time 0.001189/0.07385, allocations: 0.762 MB / 0.7428 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Jacobian: time 3.998e-06/0.07386, allocations: 0 / 0.7428 GB, free: 14.08 MB / 0.6231 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {actAirSet_RehBox.uWin} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 48 (48) {actAirSet_RehBox.swi.u2, actAirSet_RehBox.swi3.u2, actAirSet_RehBox.and1.u1, actAirSet_RehBox.and1.u2, actAirSet_RehBox.and1.y, actAirSet_RehBox.intEqu2.y, actAirSet_RehBox.swi4.u2, actAirSet_RehBox.swi17.u2, actAirSet_RehBox.swi22.u2, actAirSet_RehBox1.swi.u2, actAirSet_RehBox1.swi3.u2, actAirSet_RehBox1.and1.u1, actAirSet_RehBox1.and1.u2, actAirSet_RehBox1.and1.y, actAirSet_RehBox1.intEqu2.y, actAirSet_RehBox1.swi4.u2, actAirSet_RehBox1.swi17.u2, actAirSet_RehBox1.swi22.u2, $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, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 122 (scalar:122, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 296 (scalar:296, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.092e-05/0.07396, allocations: 84.28 kB / 0.7429 GB, free: 14.01 MB / 0.6231 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo:685:7-685:120:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist.