Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001361/0.001361, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001383/0.001383, allocations: 212.3 kB / 23.06 MB, free: 4.98 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.7 MB / 256.9 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.017/3.017, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.017e-05, allocations: 6.219 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001772/0.001792, allocations: 0.7496 MB / 1.188 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.00334, allocations: 1.354 MB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.00342, allocations: 7.688 kB / 1.189 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.00346, allocations: 10.88 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.003534, allocations: 15.59 kB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.004274, allocations: 312.9 kB / 1.19 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.004627, allocations: 374.4 kB / 1.19 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004751, allocations: 41.05 kB / 1.19 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.004904, allocations: 162.7 kB / 1.19 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.005071, allocations: 116.8 kB / 1.19 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.005138, allocations: 36.16 kB / 1.19 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.005243, allocations: 49.09 kB / 1.19 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002827/0.005526, allocations: 419.2 kB / 1.191 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.174e-05/0.005578, allocations: 135.9 kB / 1.191 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.005632, allocations: 21.56 kB / 1.191 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.95e-05/0.005652, allocations: 11.05 kB / 1.191 GB, free: 11.17 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.0009602/0.006612, allocations: 1.074 MB / 1.192 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001061/0.006718, allocations: 126.1 kB / 1.192 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001078/0.007796, allocations: 1.261 MB / 1.193 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003336/0.008129, allocations: 310.8 kB / 1.194 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00119/0.009319, allocations: 1.045 MB / 1.195 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003189/0.009638, allocations: 307.1 kB / 1.195 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002522/0.00989, allocations: 268.4 kB / 1.195 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005165/0.01041, allocations: 0.5286 MB / 1.196 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003224/0.01073, allocations: 297.1 kB / 1.196 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004152/0.01114, allocations: 428.1 kB / 1.196 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007933/0.01194, allocations: 0.6469 MB / 1.197 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009925/0.01293, allocations: 1.278 MB / 1.198 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000746/0.01368, allocations: 0.6245 MB / 1.199 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001243/0.01492, allocations: 1.616 MB / 1.2 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.171e-05/0.01496, allocations: 34.89 kB / 1.2 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000222/0.01518, allocations: 275.2 kB / 1.201 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001319/0.0165, allocations: 1.102 MB / 1.202 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.18e-05/0.01652, allocations: 41.81 kB / 1.202 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.01652, allocations: 0 / 1.202 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.722e-05/0.01655, allocations: 28.44 kB / 1.202 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.51e-06/0.01656, allocations: 1.281 kB / 1.202 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.205e-06/0.01657, allocations: 22.66 kB / 1.202 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.005e-06/0.01657, allocations: 1.875 kB / 1.202 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003932/0.01697, allocations: 337.5 kB / 1.202 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.985e-06/0.01697, allocations: 4 kB / 1.202 GB, free: 5.375 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 9.574e-05/0.01707, allocations: 49.22 kB / 1.202 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008999/0.01797, allocations: 0.7068 MB / 1.203 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of Templates: time 0.006373/0.02434, allocations: 3.999 MB / 1.207 GB, free: 3.496 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.980804281018209]