Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.6 kB / 16.38 MB, free: 6.441 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.001076/0.001076, allocations: 193.3 kB / 17.31 MB, free: 5.789 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.119/1.119, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.517/1.517, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.815e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.006/0.00603, allocations: 5.877 MB / 0.6786 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.008896, allocations: 2.016 MB / 0.6806 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.009372, allocations: 63.75 kB / 0.6806 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.009817, allocations: 241.1 kB / 0.6809 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.01035, allocations: 313.1 kB / 0.6812 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.01143, allocations: 0.7482 MB / 0.6819 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.01305, allocations: 2.295 MB / 0.6841 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.01412, allocations: 1.05 MB / 0.6852 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.01481, allocations: 0.8091 MB / 0.6859 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.01532, allocations: 0.7616 MB / 0.6867 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.01553, allocations: 220 kB / 0.6869 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.01576, allocations: 227.9 kB / 0.6871 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001389/0.01716, allocations: 2.763 MB / 0.6898 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.00077/0.01794, allocations: 1.781 MB / 0.6916 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.01818, allocations: 306.9 kB / 0.6919 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001973/0.01839, allocations: 114.9 kB / 0.692 GB, free: 2.207 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: 352 (352) * Number of variables: 352 (352) Notification: Performance of Bindings: time 0.005751/0.02414, allocations: 8.23 MB / 0.7 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002877/0.02444, allocations: 394.6 kB / 0.7004 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.003727/0.02817, allocations: 4.752 MB / 0.705 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0002253/0.02841, allocations: 279.6 kB / 0.7053 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Alias: time 0.007768/0.03618, allocations: 8.839 MB / 0.7139 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001438/0.03634, allocations: 151.8 kB / 0.7141 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Events: time 0.0009131/0.03726, allocations: 0.9125 MB / 0.7149 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0007767/0.03804, allocations: 0.9509 MB / 0.7159 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0009167/0.03897, allocations: 1.081 MB / 0.7169 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of Causalize: time 0.004148/0.04313, allocations: 5.085 MB / 0.7219 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002047/0.04518, allocations: 2.467 MB / 0.7243 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of Inline: time 0.004649/0.04984, allocations: 5.402 MB / 0.7296 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0002899/0.05014, allocations: 297.2 kB / 0.7299 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0004066/0.05055, allocations: 0.5313 MB / 0.7304 GB, free: 8.957 MB / 0.6075 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) [----] uSupFan.t0 := if $FUN_1 + uSupFan.period * integer(time / uSupFan.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + uSupFan.period * integer(time / uSupFan.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + uSupFan.period * integer(time / uSupFan.period))); [----] uSupFan.t1 := uSupFan.t0 + uSupFan.width * uSupFan.period; [----] if time + uSupFan.period < uSupFan.t1 then [----] uSupFan.t0 := uSupFan.t0 - uSupFan.period; [----] uSupFan.t1 := uSupFan.t1 - uSupFan.period; [----] end if; [----] if time >= uSupFan.t1 then [----] uSupFan.t0 := uSupFan.t0 + uSupFan.period; [----] elseif time < uSupFan.t0 then [----] uSupFan.t1 := uSupFan.t1 - uSupFan.period; [----] end if; [----] if uSupFan.t0 < uSupFan.t1 then [----] assert(uSupFan.t0 <= time and time < uSupFan.t1, "CoolingCoilValve.uSupFan: Implementation error in initial time calculation: t0 = " + String(uSupFan.t0, 6, 0, true) + ", t1 = " + String(uSupFan.t1, 6, 0, true) + ", period = " + String(uSupFan.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] uSupFan.y := time >= uSupFan.t0 and time < uSupFan.t1; [----] elseif true then [----] assert(uSupFan.t1 <= time and time < uSupFan.t0, "CoolingCoilValve.uSupFan: Implementation error in initial time calculation: t0 = " + String(uSupFan.t0, 6, 0, true) + ", t1 = " + String(uSupFan.t1, 6, 0, true) + ", period = " + String(uSupFan.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] uSupFan.y := not (time >= uSupFan.t1 and time < uSupFan.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.03217/0.08273, allocations: 42.47 MB / 0.7719 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of Tearing: time 1.564e-05/0.08277, allocations: 7.938 kB / 0.7719 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of Initialization: time 7.02e-07/0.08278, allocations: 4 kB / 0.7719 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of Tearing: time 1.153e-05/0.08279, allocations: 0 / 0.7719 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of Categorize: time 3.334e-05/0.08283, allocations: 11.94 kB / 0.7719 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of Solve: time 0.001605/0.08444, allocations: 0.9313 MB / 0.7728 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of Jacobian: time 0.001128/0.08558, allocations: 1.62 MB / 0.7744 GB, free: 14.75 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 4 * Number of algebraic event partitions: ......... 16 * 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: ............................. 4 (4) {cooVal.limPI.addPID.u2, cooVal1.limPI.addPID.u2, cooVal2.limPI.addPID.u2, cooVal3.limPI.addPID.u2} * Number of discrete states: .................... 1 (1) {uSupFan.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 70 (70) {cooVal.TOutThr.y, cooVal.andIntErr.u2, cooVal.cha.u, cooVal.cha.y, cooVal1.TOutThr.y, cooVal1.andIntErr.u2, cooVal1.cha.u, cooVal1.cha.y, cooVal2.TOutThr.y, cooVal2.andIntErr.u2, cooVal2.cha.u, cooVal2.cha.y, cooVal3.TOutThr.y, cooVal3.andIntErr.u2, cooVal3.cha.u, cooVal3.cha.y, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $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_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $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: ........... 152 (scalar:152, 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: ........... 303 (scalar:303, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 303 (scalar:303, 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 0.0001146/0.08571, allocations: 135.5 kB / 0.7745 GB, free: 14.62 MB / 0.6544 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.