Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 105.3 kB / 16.37 MB, free: 6.352 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.001008/0.001008, allocations: 190.1 kB / 17.3 MB, free: 5.906 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.429/1.429, 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.71/1.71, allocations: 292.3 MB / 0.5496 GB, free: 17.72 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.541e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001836/0.001877, allocations: 0.6115 MB / 0.6735 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.00328, allocations: 1.106 MB / 0.6745 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.00333, allocations: 0 / 0.6745 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.003364, allocations: 0 / 0.6745 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.003433, allocations: 11.91 kB / 0.6745 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.00388, allocations: 123.7 kB / 0.6747 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.004036, allocations: 91.89 kB / 0.6747 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.004127, allocations: 4 kB / 0.6748 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.004205, allocations: 51.83 kB / 0.6748 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.004288, allocations: 23.97 kB / 0.6748 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.004313, allocations: 8 kB / 0.6748 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.004381, allocations: 15.98 kB / 0.6748 GB, free: 3.82 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.496e-05/0.004472, allocations: 71.47 kB / 0.6749 GB, free: 3.75 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.007e-05/0.004489, allocations: 19.72 kB / 0.6749 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.004527, allocations: 11.94 kB / 0.6749 GB, free: 3.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.778e-06/0.004541, allocations: 0 / 0.6749 GB, free: 3.719 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0004132/0.004958, allocations: 327.9 kB / 0.6753 GB, free: 3.301 MB / 0.545 GB Notification: Performance of FunctionAlias: time 6.934e-05/0.005036, allocations: 47.75 kB / 0.6753 GB, free: 3.254 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003167/0.005358, allocations: 244.2 kB / 0.6755 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simplify1: time 8.636e-06/0.005376, allocations: 11.92 kB / 0.6755 GB, free: 2.977 MB / 0.545 GB Notification: Performance of Alias: time 0.0002575/0.005638, allocations: 144.9 kB / 0.6757 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simplify2: time 4.519e-06/0.005651, allocations: 3.984 kB / 0.6757 GB, free: 2.785 MB / 0.545 GB Notification: Performance of Events: time 0.0002415/0.005896, allocations: 163.6 kB / 0.6758 GB, free: 2.625 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001877/0.006092, allocations: 150.4 kB / 0.676 GB, free: 2.465 MB / 0.545 GB Notification: Performance of Partitioning: time 4.066e-05/0.00614, allocations: 16.12 kB / 0.676 GB, free: 2.441 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001214/0.006269, allocations: 88.34 kB / 0.6761 GB, free: 2.348 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001859/0.006463, allocations: 204.3 kB / 0.6763 GB, free: 2.121 MB / 0.545 GB Notification: Performance of Inline: time 0.0002896/0.006758, allocations: 292.4 kB / 0.6766 GB, free: 1.801 MB / 0.545 GB Notification: Performance of Partitioning: time 1.539e-05/0.006782, allocations: 12.12 kB / 0.6766 GB, free: 1.781 MB / 0.545 GB Notification: Performance of Cleanup: time 1.426e-05/0.006801, allocations: 11.92 kB / 0.6766 GB, free: 1.77 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, "Assert.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, "Assert.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}; Notification: Performance of Causalize: time 0.0006869/0.007492, allocations: 0.6182 MB / 0.6772 GB, free: 1.125 MB / 0.545 GB Notification: Performance of Tearing: time 5.881e-06/0.007507, allocations: 0 / 0.6772 GB, free: 1.125 MB / 0.545 GB Notification: Performance of Initialization: time 1.903e-06/0.007513, allocations: 4 kB / 0.6772 GB, free: 1.121 MB / 0.545 GB Notification: Performance of Tearing: time 9.51e-07/0.007518, allocations: 384 / 0.6772 GB, free: 1.121 MB / 0.545 GB Notification: Performance of Categorize: time 5.42e-06/0.007527, allocations: 0 / 0.6772 GB, free: 1.121 MB / 0.545 GB Notification: Performance of Solve: time 6.418e-05/0.007595, allocations: 31.91 kB / 0.6772 GB, free: 1.09 MB / 0.545 GB Notification: Performance of Jacobian: time 4.339e-06/0.007608, allocations: 8.016 kB / 0.6772 GB, free: 1.082 MB / 0.545 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$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: ........... 2 (scalar:2, 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: ........... 7 (scalar:7, 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 2.973e-05/0.007642, allocations: 19.67 kB / 0.6772 GB, free: 1.07 MB / 0.545 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.