Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.001468/0.001468, allocations: 101.3 kB / 19.72 MB, free: 2.121 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.001664/0.001664, allocations: 208.9 kB / 23.01 MB, free: 4.93 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.827/2.827, allocations: 0.49 GB / 0.7958 GB, free: 35.28 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.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.329e-05, allocations: 6.438 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002903/0.002936, allocations: 1.891 MB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.004998, allocations: 1.698 MB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.005173, allocations: 12.5 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.005398, allocations: 89.95 kB / 1.159 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.005591, allocations: 89.48 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.006402, allocations: 425.9 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.007142, allocations: 0.8599 MB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.007503, allocations: 257 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.007743, allocations: 311.3 kB / 1.161 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.008015, allocations: 317.8 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.008151, allocations: 86.41 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.008302, allocations: 102.5 kB / 1.161 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006053/0.008907, allocations: 1.265 MB / 1.162 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002741/0.009181, allocations: 0.7564 MB / 1.163 GB, free: 19.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.009277, allocations: 44.28 kB / 1.163 GB, free: 19.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.657e-05/0.009343, allocations: 43 kB / 1.163 GB, free: 19.93 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: 131 (131) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.001999/0.01134, allocations: 3.016 MB / 1.166 GB, free: 17.79 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002401/0.01158, allocations: 318.2 kB / 1.166 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001609/0.01319, allocations: 1.986 MB / 1.168 GB, free: 16.35 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005906/0.01378, allocations: 0.5057 MB / 1.169 GB, free: 16.08 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003174/0.01696, allocations: 3.091 MB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0004036/0.01736, allocations: 417.3 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002406/0.0176, allocations: 287.8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004382/0.01804, allocations: 0.5021 MB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.165e-05/0.01812, allocations: 49.94 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.00033/0.01845, allocations: 361.6 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000786/0.01924, allocations: 0.6851 MB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007084/0.01994, allocations: 0.9851 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001338/0.02128, allocations: 1.197 MB / 1.176 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00128/0.02256, allocations: 1.758 MB / 1.178 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.093e-05/0.02263, allocations: 43.81 kB / 1.178 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0003375/0.02297, allocations: 453.5 kB / 1.178 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004331/0.0273, allocations: 3.695 MB / 1.182 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 5.185e-05/0.02735, allocations: 112.6 kB / 1.182 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.02735, allocations: 0 / 1.182 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 7.234e-06/0.02736, allocations: 1.125 kB / 1.182 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.538e-06/0.02737, allocations: 22.28 kB / 1.182 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.879e-06/0.02738, allocations: 6.859 kB / 1.182 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0009311/0.02831, allocations: 0.7225 MB / 1.183 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0003477/0.02866, allocations: 412.1 kB / 1.183 GB, free: 8.957 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: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {pidSca.addPID.u2, pidSca.D.x, pla1.y, pidNoSca.addPID.u2, pidNoSca.D.x, pla2.y} * Number of discrete states: .................... 2 (2) {pidSca.trigger, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (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: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 110 (scalar:110, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:110, 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.0001079/0.02877, allocations: 69.03 kB / 1.183 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002188/0.03096, allocations: 2.196 MB / 1.185 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of Templates: time 0.01035/0.04131, allocations: 5.717 MB / 1.191 GB, free: 7.266 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithResetScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,pidSca.y,pidNoSca.y,pla1.y,pla2.y,pidSca.u_s,pidSca.trigger Variables in the result:booPul.period,booPul.shift,booPul.t0,booPul.t1,booPul.width,gai.k,gai1.k,pidNoSca.D.T,pidNoSca.D.k,pidNoSca.D.y_start,pidNoSca.I.k,pidNoSca.I.y_start,pidNoSca.Nd,pidNoSca.Ni,pidNoSca.P.k,pidNoSca.TDer.k,pidNoSca.TDer.y,pidNoSca.Td,pidNoSca.Ti,pidNoSca.addRes.u1,pidNoSca.antWinGai.k,pidNoSca.assMesYMinMax.u,pidNoSca.cheYMinMax.k,pidNoSca.cheYMinMax.y,pidNoSca.controllerType,pidNoSca.k,pidNoSca.kDer.k,pidNoSca.kDer.y,pidNoSca.lim.uMax,pidNoSca.lim.uMin,pidNoSca.r,pidNoSca.revAct,pidNoSca.reverseActing,pidNoSca.uMea_revAct.k,pidNoSca.uS_revAct.k,pidNoSca.xi_start,pidNoSca.y,pidNoSca.yMax,pidNoSca.yMin,pidNoSca.yResSig.k,pidNoSca.yResSig.y,pidNoSca.y_reset,pidNoSca.yd_start,pidSca.D.T,pidSca.D.k,pidSca.D.y_start,pidSca.I.k,pidSca.I.y_start,pidSca.Nd,pidSca.Ni,pidSca.P.k,pidSca.TDer.k,pidSca.TDer.y,pidSca.Td,pidSca.Ti,pidSca.addRes.u1,pidSca.antWinGai.k,pidSca.assMesYMinMax.u,pidSca.cheYMinMax.k,pidSca.cheYMinMax.y,pidSca.controllerType,pidSca.k,pidSca.kDer.k,pidSca.kDer.y,pidSca.lim.uMax,pidSca.lim.uMin,pidSca.r,pidSca.revAct,pidSca.reverseActing,pidSca.trigger,pidSca.uMea_revAct.k,pidSca.uS_revAct.k,pidSca.u_s,pidSca.xi_start,pidSca.y,pidSca.yMax,pidSca.yMin,pidSca.yResSig.k,pidSca.yResSig.y,pidSca.y_reset,pidSca.yd_start,pla1.k,pla1.trigger,pla1.u,pla1.y,pla1.y_reset_in,pla1.y_start,pla2.k,pla2.trigger,pla2.u,pla2.y,pla2.y_reset_in,pla2.y_start,pulse.amplitude,pulse.booPul.period,pulse.booPul.shift,pulse.booPul.t0,pulse.booPul.t1,pulse.booPul.width,pulse.booToRea.realFalse,pulse.booToRea.realTrue,pulse.offset,pulse.period,pulse.shift,pulse.width,resSig.k,resSig.y,resVal.k,resVal.y,time [Calling sys.exit(0), Time elapsed: 7.792899581138045]