Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 104.4 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.001125/0.001125, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.02e-05/5.056e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002663/0.002742, allocations: 0.7793 MB / 0.6736 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.004362, allocations: 1.145 MB / 0.6747 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.00443, allocations: 0 / 0.6747 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.004467, allocations: 3.938 kB / 0.6747 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.004595, allocations: 15.86 kB / 0.6747 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.005091, allocations: 134.8 kB / 0.6749 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.005268, allocations: 127.8 kB / 0.675 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005387, allocations: 15.98 kB / 0.675 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.005479, allocations: 47.91 kB / 0.6751 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.005576, allocations: 51.8 kB / 0.6751 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.005609, allocations: 12 kB / 0.6751 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.005683, allocations: 19.98 kB / 0.6751 GB, free: 3.566 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001109/0.005801, allocations: 107 kB / 0.6752 GB, free: 3.461 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.033e-05/0.005837, allocations: 55.22 kB / 0.6753 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.005878, allocations: 11.94 kB / 0.6753 GB, free: 3.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.511e-05/0.005898, allocations: 0 / 0.6753 GB, free: 3.395 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0005636/0.006466, allocations: 455.9 kB / 0.6757 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.953e-05/0.006562, allocations: 47.86 kB / 0.6758 GB, free: 2.801 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003845/0.006953, allocations: 332.1 kB / 0.6761 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simplify1: time 1.849e-05/0.006981, allocations: 15.97 kB / 0.6761 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Alias: time 0.000379/0.007365, allocations: 245.5 kB / 0.6764 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simplify2: time 9.328e-06/0.007384, allocations: 7.922 kB / 0.6764 GB, free: 2.125 MB / 0.545 GB Notification: Performance of Events: time 0.0002657/0.007655, allocations: 183.6 kB / 0.6765 GB, free: 1.945 MB / 0.545 GB Notification: Performance of Detect States: time 0.000226/0.007892, allocations: 190.3 kB / 0.6767 GB, free: 1.746 MB / 0.545 GB Notification: Performance of Partitioning: time 7.205e-05/0.007972, allocations: 44.11 kB / 0.6768 GB, free: 1.695 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002654/0.008244, allocations: 231.9 kB / 0.677 GB, free: 1.461 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0002456/0.008498, allocations: 292.2 kB / 0.6773 GB, free: 1.148 MB / 0.545 GB Notification: Performance of Inline: time 0.0003909/0.008896, allocations: 416.2 kB / 0.6777 GB, free: 0.707 MB / 0.545 GB Notification: Performance of Partitioning: time 2.12e-05/0.008926, allocations: 24.12 kB / 0.6777 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of Cleanup: time 1.453e-05/0.008947, allocations: 11.98 kB / 0.6777 GB, free: 0.6641 MB / 0.545 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) [----] booPul.t0 := if $FUN_1 + booPul.period * integer(time / booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + booPul.period * integer(time / booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + booPul.period * integer(time / booPul.period))); [----] booPul.t1 := booPul.t0 + booPul.width * booPul.period; [----] if time + booPul.period < booPul.t1 then [----] booPul.t0 := booPul.t0 - booPul.period; [----] booPul.t1 := booPul.t1 - booPul.period; [----] end if; [----] if time >= booPul.t1 then [----] booPul.t0 := booPul.t0 + booPul.period; [----] elseif time < booPul.t0 then [----] booPul.t1 := booPul.t1 - booPul.period; [----] end if; [----] if booPul.t0 < booPul.t1 then [----] assert(booPul.t0 <= time and time < booPul.t1, "Change.booPul: Implementation error in initial time calculation: t0 = " + String(booPul.t0, 6, 0, true) + ", t1 = " + String(booPul.t1, 6, 0, true) + ", period = " + String(booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] booPul.y := time >= booPul.t0 and time < booPul.t1; [----] elseif true then [----] assert(booPul.t1 <= time and time < booPul.t0, "Change.booPul: Implementation error in initial time calculation: t0 = " + String(booPul.t0, 6, 0, true) + ", t1 = " + String(booPul.t1, 6, 0, true) + ", period = " + String(booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] booPul.y := not (time >= booPul.t1 and time < booPul.t0); [----] end if; slice: {1, 2}; [SCAL] (1) $TEV_12 = $PRE.booPul.y ($RES_EVT_11) slice: {}; Notification: Performance of Causalize: time 0.0009989/0.00995, allocations: 0.9519 MB / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Tearing: time 7.765e-06/0.00997, allocations: 4.125 kB / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Initialization: time 3.5e-07/0.009977, allocations: 4 kB / 0.6786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Tearing: time 4.529e-06/0.009986, allocations: 3.984 kB / 0.6786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Categorize: time 6.802e-06/0.009998, allocations: 3.938 kB / 0.6786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Solve: time 0.0001097/0.01011, allocations: 43.94 kB / 0.6787 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.297e-06/0.01012, allocations: 0 / 0.6787 GB, free: 15.63 MB / 0.5606 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: ......... 1 * 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: .................... 2 (2) {triggeredSampler.y, booPul.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {change.y, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 14 (scalar:14, 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 3.885e-05/0.01017, allocations: 29.42 kB / 0.6787 GB, free: 15.61 MB / 0.5606 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.