Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.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.001221/0.001221, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001399/0.001399, allocations: 208.8 kB / 23 MB, free: 4.961 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.115/3.115, allocations: 0.505 GB / 0.8108 GB, free: 23.62 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.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|retSig.y|onOffPer.tOn|onOffPer.tOff",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|retSig.y|onOffPer.tOn|onOffPer.tOff",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.789e-05, allocations: 4.906 kB / 1.178 GB, free: 16.5 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.0025/0.002528, allocations: 1.248 MB / 1.179 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004476, allocations: 1.475 MB / 1.181 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.004607, allocations: 9.5 kB / 1.181 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.004756, allocations: 37.19 kB / 1.181 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.004842, allocations: 38.12 kB / 1.181 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.005494, allocations: 335.3 kB / 1.181 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.00593, allocations: 497.1 kB / 1.182 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.006189, allocations: 169.2 kB / 1.182 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.006351, allocations: 166.9 kB / 1.182 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.00655, allocations: 176.2 kB / 1.182 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.006632, allocations: 54.62 kB / 1.182 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.006752, allocations: 67.06 kB / 1.182 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004389/0.007191, allocations: 0.6587 MB / 1.183 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001764/0.007368, allocations: 374.8 kB / 1.183 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.007447, allocations: 26.84 kB / 1.183 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.653e-05/0.007494, allocations: 22 kB / 1.183 GB, free: 13.09 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: 72 (72) * Number of variables: 72 (72) Notification: Performance of [SIM] Bindings: time 0.001521/0.009015, allocations: 1.62 MB / 1.185 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001216/0.009136, allocations: 168.2 kB / 1.185 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001072/0.01021, allocations: 1.268 MB / 1.186 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004119/0.01062, allocations: 371 kB / 1.187 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002349/0.01297, allocations: 1.852 MB / 1.188 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003014/0.01327, allocations: 287.2 kB / 1.189 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002149/0.01349, allocations: 232.7 kB / 1.189 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004289/0.01391, allocations: 401.5 kB / 1.189 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001405/0.01406, allocations: 103.4 kB / 1.189 GB, free: 9 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002255/0.01428, allocations: 205.3 kB / 1.189 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0006531/0.01493, allocations: 486.2 kB / 1.19 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006054/0.01554, allocations: 0.6981 MB / 1.191 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008075/0.01635, allocations: 0.6774 MB / 1.191 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0008616/0.01721, allocations: 1.024 MB / 1.192 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.126e-05/0.01725, allocations: 23.73 kB / 1.192 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001281/0.01738, allocations: 161.2 kB / 1.192 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001284/0.01866, allocations: 0.9682 MB / 1.193 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.182e-05/0.01868, allocations: 32.44 kB / 1.193 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.01868, allocations: 0 / 1.193 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.901e-06/0.01869, allocations: 0 / 1.193 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.574e-05/0.01871, allocations: 21.66 kB / 1.193 GB, free: 7 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.017e-05/0.01872, allocations: 5.125 kB / 1.193 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003065/0.01902, allocations: 267.8 kB / 1.194 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.274e-06/0.01903, allocations: 0 / 1.194 GB, free: 6.871 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: .................... 6 (6) {retSig.y, relSwi.y, onOffPer.tOff, onOffPer.tOn, onOffPer.lenOnCal.u1, onOffPer.lenOffCal.u1} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 23 (23) {onOffPer.timOnRec.samTri.y, onOffPer.timOnRec.swi.u2, onOffPer.timOnRec.edgRes.u, onOffPer.timOnRec.edgThr.u, onOffPer.timOnRec.edgThr.y, onOffPer.timOffRec.samTri.y, onOffPer.timOffRec.swi.u2, onOffPer.timOffRec.edgRes.u, onOffPer.timOffRec.edgThr.u, onOffPer.timOffRec.edgThr.y, $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: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.0001147/0.01914, allocations: 50.83 kB / 1.194 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001491/0.02064, allocations: 1.243 MB / 1.195 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of Templates: time 0.007345/0.02798, allocations: 3.564 MB / 1.198 GB, free: 5.918 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_OnOffPeriod.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,relSwi.y,retSig.y,onOffPer.tOn,onOffPer.tOff Variables in the result:modTim.y,onOffPer.tOff,onOffPer.tOff,onOffPer.tOn,onOffPer.tOn,onOffPer.tim,onOffPer.timOff.u,onOffPer.timOff.y_start,onOffPer.timOffRec.edgRes.pre_u_start,onOffPer.timOffRec.edgThr.pre_u_start,onOffPer.timOffRec.gre.greNoHys.u2,onOffPer.timOffRec.gre.h,onOffPer.timOffRec.gre.have_hysteresis,onOffPer.timOffRec.gre.pre_y_start,onOffPer.timOffRec.gre.u2,onOffPer.timOffRec.lowLim,onOffPer.timOffRec.reset.k,onOffPer.timOffRec.reset.y,onOffPer.timOffRec.swi.u1,onOffPer.timOffRec.thr.k,onOffPer.timOffRec.thr.y,onOffPer.timOffRec.yRec.y_start,onOffPer.timOffRec.y_reset,onOffPer.timOn.u,onOffPer.timOn.y_start,onOffPer.timOnRec.edgRes.pre_u_start,onOffPer.timOnRec.edgThr.pre_u_start,onOffPer.timOnRec.gre.greNoHys.u2,onOffPer.timOnRec.gre.h,onOffPer.timOnRec.gre.have_hysteresis,onOffPer.timOnRec.gre.pre_y_start,onOffPer.timOnRec.gre.u2,onOffPer.timOnRec.lowLim,onOffPer.timOnRec.reset.k,onOffPer.timOnRec.reset.y,onOffPer.timOnRec.swi.u1,onOffPer.timOnRec.thr.k,onOffPer.timOnRec.thr.y,onOffPer.timOnRec.yRec.y_start,onOffPer.timOnRec.y_reset,relSwi.period,relSwi.shift,relSwi.t0,relSwi.t1,relSwi.width,relSwi.y,retSig.period,retSig.shift,retSig.t0,retSig.t1,retSig.width,retSig.y,time [Calling sys.exit(0), Time elapsed: 8.343560539186]