Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 211.3 kB / 23.01 MB, free: 4.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.261/1.261, allocations: 230.6 MB / 256.8 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.756/2.756, allocations: 0.49 GB / 0.7958 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.519e-05, allocations: 2.281 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001389/0.001404, allocations: 0.7638 MB / 1.156 GB, free: 24.72 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.002716, allocations: 1.342 MB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.00277, allocations: 7.125 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.002801, allocations: 12.05 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/0.002871, allocations: 14.66 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.003478, allocations: 319.4 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.003779, allocations: 383.9 kB / 1.158 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.003891, allocations: 36.48 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004026, allocations: 158.6 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.004174, allocations: 145 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.004234, allocations: 35.47 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.004321, allocations: 44.3 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000254/0.004575, allocations: 423.5 kB / 1.159 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.866e-05/0.004623, allocations: 138.4 kB / 1.159 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.004676, allocations: 21.88 kB / 1.159 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.397e-05/0.00469, allocations: 10.16 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0009551/0.005645, allocations: 1.071 MB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.294e-05/0.005738, allocations: 121.4 kB / 1.16 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0009429/0.006681, allocations: 1.248 MB / 1.161 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003039/0.006984, allocations: 350.4 kB / 1.161 GB, free: 21.31 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001056/0.00804, allocations: 1.025 MB / 1.162 GB, free: 20.73 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002968/0.008337, allocations: 327.3 kB / 1.163 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002321/0.008569, allocations: 285.5 kB / 1.163 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004791/0.009049, allocations: 0.5127 MB / 1.164 GB, free: 20.05 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003117/0.00936, allocations: 291.1 kB / 1.164 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003926/0.009753, allocations: 427.4 kB / 1.164 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007796/0.01053, allocations: 0.6669 MB / 1.165 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008801/0.01141, allocations: 1.269 MB / 1.166 GB, free: 18.93 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006586/0.01207, allocations: 0.643 MB / 1.167 GB, free: 18.54 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00115/0.01322, allocations: 1.608 MB / 1.168 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.846e-05/0.01326, allocations: 31.27 kB / 1.168 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002021/0.01346, allocations: 271.1 kB / 1.169 GB, free: 17.54 MB / 0.9044 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) swiCleInp.clr = $PRE.swiCleInp.clr ($RES_SRT_81); [SCAL] (1) swiCleInp.u = $PRE.swiCleInp.u ($RES_SRT_80); Notification: Performance of [INI] Causalize: time 0.001808/0.01527, allocations: 1.597 MB / 1.17 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.826e-05/0.01529, allocations: 32.16 kB / 1.17 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01529, allocations: 0 / 1.17 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.801e-06/0.01529, allocations: 1.312 kB / 1.17 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.454e-06/0.0153, allocations: 20.81 kB / 1.17 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.322e-06/0.01531, allocations: 6.25 kB / 1.17 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003562/0.01566, allocations: 342.3 kB / 1.171 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.711e-06/0.01567, allocations: 4 kB / 1.171 GB, free: 16.94 MB / 0.9044 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: .................... 8 (8) {swiCleInp.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 34 (34) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp1.u, swiCleInp1.clr, $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, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.304e-05/0.01575, allocations: 52.16 kB / 1.171 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008177/0.01657, allocations: 0.7642 MB / 1.171 GB, free: 16.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.007224/0.02379, allocations: 4.529 MB / 1.176 GB, free: 16.09 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.308156734798104]