Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001477/0.001477, 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.001579/0.001579, allocations: 218.2 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.329/1.329, allocations: 230.7 MB / 256.9 MB, free: 7.711 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.837/2.837, allocations: 0.4893 GB / 0.7952 GB, free: 35.55 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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.761e-05, allocations: 8.188 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001458/0.001476, allocations: 0.6868 MB / 1.155 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.002719, allocations: 1.282 MB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.00276, allocations: 5.031 kB / 1.156 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.002789, allocations: 5.141 kB / 1.156 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.002858, allocations: 22.67 kB / 1.156 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.003528, allocations: 305 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.003782, allocations: 262.1 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.003867, allocations: 11.03 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003974, allocations: 108.2 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.004092, allocations: 91.12 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.004134, allocations: 22.72 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.004209, allocations: 28.62 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001683/0.004377, allocations: 244.1 kB / 1.157 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.422e-05/0.004412, allocations: 80.66 kB / 1.157 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.004455, allocations: 15.94 kB / 1.158 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.111e-05/0.004466, allocations: 3.094 kB / 1.158 GB, free: 23.56 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.000724/0.00519, allocations: 0.7266 MB / 1.158 GB, free: 23.01 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.051e-05/0.00523, allocations: 40.05 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007253/0.005956, allocations: 0.743 MB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003633/0.006319, allocations: 319.2 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006403/0.006959, allocations: 0.4975 MB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003419/0.007301, allocations: 322.3 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002594/0.00756, allocations: 268.7 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003718/0.007932, allocations: 358.9 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.984e-05/0.008012, allocations: 58.8 kB / 1.161 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000109/0.008121, allocations: 76.47 kB / 1.161 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002162/0.008337, allocations: 135.2 kB / 1.161 GB, free: 21.42 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004373/0.008775, allocations: 0.5432 MB / 1.161 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005582/0.009333, allocations: 0.5114 MB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006199/0.009953, allocations: 0.6751 MB / 1.163 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.609e-05/0.009969, allocations: 12.08 kB / 1.163 GB, free: 20.53 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001166/0.01009, allocations: 113.9 kB / 1.163 GB, free: 20.47 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000423/0.01051, allocations: 285.4 kB / 1.163 GB, free: 20.4 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.203e-05/0.01052, allocations: 11.34 kB / 1.163 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4e-07/0.01052, allocations: 0 / 1.163 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.703e-05/0.01054, allocations: 11.94 kB / 1.163 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.378e-06/0.01054, allocations: 4 kB / 1.163 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.218e-06/0.01055, allocations: 10.28 kB / 1.163 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.663e-06/0.01055, allocations: 1.062 kB / 1.163 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.693e-05/0.01065, allocations: 53.83 kB / 1.163 GB, free: 20.35 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.557e-06/0.01066, allocations: 0 / 1.163 GB, free: 20.35 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: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {logicalSwitch.y, $TEV_5, $TEV_4, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 3.792e-05/0.0107, allocations: 33.64 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006551/0.01135, allocations: 422.5 kB / 1.164 GB, free: 20.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.005429/0.01678, allocations: 2.629 MB / 1.166 GB, free: 19.79 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.u3,logicalSwitch.y Variables in the result:booPul1.period,booPul1.shift,booPul1.t0,booPul1.t1,booPul1.width,booPul1.y,booPul2.period,booPul2.shift,booPul2.t0,booPul2.t1,booPul2.width,booPul2.y,booPul3.period,booPul3.shift,booPul3.t0,booPul3.t1,booPul3.width,booPul3.y,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.u3,logicalSwitch.y,time [Calling sys.exit(0), Time elapsed: 7.503478272992652]