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.001495/0.001495, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001611/0.001611, allocations: 215.8 kB / 23.07 MB, free: 4.844 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.346/1.346, allocations: 230.6 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.875/2.875, allocations: 0.4893 GB / 0.7952 GB, free: 35.46 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.501e-05/1.501e-05, allocations: 2.281 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001619/0.001634, allocations: 0.7498 MB / 1.155 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.003113, allocations: 1.364 MB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.003169, allocations: 0 / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.003211, allocations: 9.656 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.003279, allocations: 17.02 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.0039, allocations: 320.7 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.004212, allocations: 372.4 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004333, allocations: 41.27 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.004477, allocations: 162.6 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.004654, allocations: 119.1 kB / 1.157 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.958e-05/0.004734, allocations: 36.31 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.004844, allocations: 47.61 kB / 1.158 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003289/0.005173, allocations: 420.4 kB / 1.158 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.19e-05/0.005245, allocations: 132.2 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.00531, allocations: 20.94 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.711e-05/0.005327, allocations: 10.47 kB / 1.158 GB, free: 23.25 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.001068/0.006395, allocations: 1.073 MB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.000107/0.006502, allocations: 121.4 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001081/0.007583, allocations: 1.259 MB / 1.161 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003405/0.007923, allocations: 317.6 kB / 1.161 GB, free: 21.67 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001163/0.009086, allocations: 1.042 MB / 1.162 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003328/0.009419, allocations: 306.4 kB / 1.162 GB, free: 20.94 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002622/0.009681, allocations: 276.2 kB / 1.162 GB, free: 20.78 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005409/0.01022, allocations: 0.5115 MB / 1.163 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003415/0.01056, allocations: 299.6 kB / 1.163 GB, free: 20.27 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004705/0.01103, allocations: 432.9 kB / 1.164 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0008522/0.01189, allocations: 0.6404 MB / 1.164 GB, free: 19.96 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001023/0.01291, allocations: 1.28 MB / 1.165 GB, free: 19.32 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006982/0.01361, allocations: 0.6205 MB / 1.166 GB, free: 18.96 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001246/0.01485, allocations: 1.623 MB / 1.168 GB, free: 18.12 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.189e-05/0.0149, allocations: 35.27 kB / 1.168 GB, free: 18.09 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002222/0.01512, allocations: 275.9 kB / 1.168 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001326/0.01644, allocations: 1.098 MB / 1.169 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.949e-05/0.01646, allocations: 32.81 kB / 1.169 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.01646, allocations: 0 / 1.169 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.78e-05/0.01649, allocations: 33.41 kB / 1.169 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.2e-06/0.0165, allocations: 1.219 kB / 1.169 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.498e-06/0.01651, allocations: 22.09 kB / 1.169 GB, free: 17.62 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.624e-06/0.01651, allocations: 2.688 kB / 1.169 GB, free: 17.62 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003825/0.0169, allocations: 340.9 kB / 1.169 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.367e-06/0.01691, allocations: 4 kB / 1.169 GB, free: 17.48 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) {togInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp.u, swiCleInp.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: ........... 36 (scalar:36, 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: ........... 58 (scalar:58, 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 0.0001047/0.01701, allocations: 58.23 kB / 1.17 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008974/0.01791, allocations: 0.704 MB / 1.17 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.007232/0.02514, allocations: 3.99 MB / 1.174 GB, free: 16.7 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/jenkins1/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] "" Variables in the reference: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 Variables in the result:cleInp.period,cleInp.shift,cleInp.t0,cleInp.t1,cleInp.width,fal.k,fal.y,falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,togInp.period,togInp.shift,togInp.t0,togInp.t1,togInp.width,tru.k,tru.y,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 7.646279119013343]