Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 103.5 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.001126/0.001126, 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.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.395e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002425/0.002473, allocations: 0.7757 MB / 0.6736 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.004256, allocations: 1.148 MB / 0.6747 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.004324, allocations: 0 / 0.6747 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.004368, allocations: 3.938 kB / 0.6747 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.004463, allocations: 15.91 kB / 0.6748 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.005053, allocations: 126.5 kB / 0.6749 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.005245, allocations: 131.7 kB / 0.675 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005384, allocations: 23.97 kB / 0.675 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.005493, allocations: 47.84 kB / 0.6751 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005611, allocations: 43.88 kB / 0.6751 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.005655, allocations: 8 kB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.005739, allocations: 23.98 kB / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001186/0.005864, allocations: 111 kB / 0.6752 GB, free: 3.469 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.219e-05/0.005906, allocations: 51.22 kB / 0.6753 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.005963, allocations: 15.94 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.397e-05/0.005984, allocations: 4 kB / 0.6753 GB, free: 3.398 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.0006505/0.006639, allocations: 447.9 kB / 0.6757 GB, free: 2.859 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.632e-05/0.006731, allocations: 47.86 kB / 0.6758 GB, free: 2.812 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0004057/0.007144, allocations: 344 kB / 0.6761 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simplify1: time 1.335e-05/0.007169, allocations: 15.92 kB / 0.6761 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Alias: time 0.0003876/0.007562, allocations: 229.6 kB / 0.6764 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simplify2: time 1.558e-05/0.007587, allocations: 15.97 kB / 0.6764 GB, free: 2.133 MB / 0.545 GB Notification: Performance of Events: time 0.0002918/0.007883, allocations: 187.5 kB / 0.6765 GB, free: 1.949 MB / 0.545 GB Notification: Performance of Detect States: time 0.0002731/0.008165, allocations: 179 kB / 0.6767 GB, free: 1.762 MB / 0.545 GB Notification: Performance of Partitioning: time 8.16e-05/0.008255, allocations: 44.11 kB / 0.6768 GB, free: 1.711 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003012/0.008563, allocations: 235.9 kB / 0.677 GB, free: 1.473 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0003094/0.008881, allocations: 288.2 kB / 0.6773 GB, free: 1.164 MB / 0.545 GB Notification: Performance of Inline: time 0.0004842/0.009373, allocations: 416.2 kB / 0.6777 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of Partitioning: time 2.112e-05/0.009404, allocations: 20.88 kB / 0.6777 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of Cleanup: time 1.698e-05/0.009427, allocations: 11.98 kB / 0.6777 GB, free: 0.6836 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, "Edge.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, "Edge.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.001081/0.01051, allocations: 0.9718 MB / 0.6786 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of Tearing: time 7.313e-06/0.01053, allocations: 0 / 0.6786 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of Initialization: time 3.21e-07/0.01053, allocations: 0 / 0.6786 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of Tearing: time 1.082e-06/0.01054, allocations: 80 / 0.6786 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of Categorize: time 1.013e-05/0.01055, allocations: 3.984 kB / 0.6786 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Solve: time 9.962e-05/0.01066, allocations: 51.88 kB / 0.6787 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.517e-06/0.01067, allocations: 4.031 kB / 0.6787 GB, free: 15.64 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) {edge1.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.939e-05/0.01071, allocations: 20.91 kB / 0.6787 GB, free: 15.62 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.