Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001402/0.001402, 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.001564/0.001564, allocations: 208.3 kB / 23.01 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.309/1.309, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.49 GB / 0.7958 GB, free: 35.42 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.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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.815e-05, allocations: 3.688 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.002015/0.002033, allocations: 1.261 MB / 1.156 GB, free: 24.33 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.00354, allocations: 1.471 MB / 1.158 GB, free: 23.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.003663, allocations: 12.03 kB / 1.158 GB, free: 23.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003798, allocations: 41.06 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.003878, allocations: 34.97 kB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.004544, allocations: 332.3 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.004972, allocations: 0.4909 MB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.005214, allocations: 165.6 kB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005341, allocations: 176 kB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.005495, allocations: 172 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.005566, allocations: 53.59 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.005665, allocations: 64.42 kB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003273/0.005992, allocations: 0.6557 MB / 1.16 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001329/0.006125, allocations: 373.8 kB / 1.16 GB, free: 21.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.006185, allocations: 27.66 kB / 1.16 GB, free: 21.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.37e-05/0.006218, allocations: 24.22 kB / 1.16 GB, free: 21.7 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.001208/0.007426, allocations: 1.617 MB / 1.162 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001245/0.007551, allocations: 172.9 kB / 1.162 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001012/0.008563, allocations: 1.262 MB / 1.163 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003893/0.008953, allocations: 366.9 kB / 1.164 GB, free: 19.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002093/0.01105, allocations: 1.867 MB / 1.165 GB, free: 18.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002793/0.01132, allocations: 289.3 kB / 1.166 GB, free: 18.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000194/0.01152, allocations: 223 kB / 1.166 GB, free: 17.98 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003919/0.01191, allocations: 398.9 kB / 1.166 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001283/0.01204, allocations: 99.44 kB / 1.166 GB, free: 17.63 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002197/0.01226, allocations: 210.2 kB / 1.167 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005595/0.01282, allocations: 486 kB / 1.167 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005428/0.01336, allocations: 0.6957 MB / 1.168 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0007619/0.01412, allocations: 0.6718 MB / 1.168 GB, free: 16.61 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0007982/0.01492, allocations: 1.023 MB / 1.169 GB, free: 16.01 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.953e-05/0.01496, allocations: 27.69 kB / 1.169 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001189/0.01508, allocations: 165.9 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001185/0.01627, allocations: 0.9626 MB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.913e-05/0.01628, allocations: 32.28 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.363e-06/0.01629, allocations: 5.031 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.041e-06/0.01629, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 6.903e-06/0.0163, allocations: 16.91 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.093e-06/0.01631, allocations: 1.891 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003079/0.01661, allocations: 271.5 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.804e-06/0.01662, allocations: 1.5 kB / 1.171 GB, free: 15.5 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 9.657e-05/0.01672, allocations: 50.64 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001272/0.01799, allocations: 1.244 MB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.006739/0.02473, allocations: 3.568 MB / 1.176 GB, free: 14.54 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_OnOffPeriod.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.487398005090654]