Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001416/0.001416, 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.001563/0.001563, allocations: 211.4 kB / 23 MB, free: 4.965 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.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.836/2.836, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.771e-05, allocations: 4.391 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002564/0.002592, allocations: 1.819 MB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.00454, allocations: 1.612 MB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.004707, allocations: 13.84 kB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.004916, allocations: 86.28 kB / 1.159 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.005092, allocations: 82.59 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.005726, allocations: 332.8 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.006298, allocations: 0.7592 MB / 1.16 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.006612, allocations: 223.1 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.006817, allocations: 266.8 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007027, allocations: 287.4 kB / 1.16 GB, free: 21.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.007123, allocations: 80.62 kB / 1.16 GB, free: 21.69 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.007248, allocations: 86.48 kB / 1.161 GB, free: 21.69 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005322/0.00778, allocations: 1.163 MB / 1.162 GB, free: 20.85 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002681/0.008048, allocations: 0.7141 MB / 1.162 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.008123, allocations: 39.72 kB / 1.162 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.202e-05/0.008185, allocations: 39.12 kB / 1.162 GB, free: 20.31 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: 124 (124) * Number of variables: 124 (124) Notification: Performance of [SIM] Bindings: time 0.001889/0.01007, allocations: 2.746 MB / 1.165 GB, free: 18.34 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002465/0.01032, allocations: 303.2 kB / 1.165 GB, free: 18.14 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001457/0.01178, allocations: 1.706 MB / 1.167 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005058/0.01228, allocations: 409.1 kB / 1.167 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003034/0.01532, allocations: 2.851 MB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000315/0.01563, allocations: 307.3 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001686/0.0158, allocations: 212.1 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000367/0.01617, allocations: 408.4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.212e-05/0.01624, allocations: 35.92 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003055/0.01655, allocations: 314.9 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007372/0.01728, allocations: 0.6311 MB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005786/0.01786, allocations: 0.783 MB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001224/0.01908, allocations: 1.069 MB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001094/0.02018, allocations: 1.502 MB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.883e-05/0.02025, allocations: 53.22 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002734/0.02052, allocations: 378.7 kB / 1.176 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00409/0.02461, allocations: 3.473 MB / 1.179 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 5.627e-05/0.02467, allocations: 108.5 kB / 1.179 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.42e-07/0.02467, allocations: 0 / 1.179 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.756e-06/0.02468, allocations: 1.219 kB / 1.179 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.087e-06/0.02469, allocations: 25.62 kB / 1.179 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.344e-05/0.0247, allocations: 2.906 kB / 1.179 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0008788/0.02558, allocations: 0.6898 MB / 1.18 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0003453/0.02592, allocations: 403 kB / 1.18 GB, free: 10.36 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: ......... 0 * 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: .................... 1 (1) {pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 41 (scalar:41, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 107 (scalar:107, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 107 (scalar:107, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 5.801e-05/0.02598, allocations: 67.45 kB / 1.18 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002128/0.02811, allocations: 2.083 MB / 1.182 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of Templates: time 0.009927/0.03804, allocations: 4.834 MB / 1.187 GB, free: 8.805 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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 Variables in the result:gai.k,gai1.k,pidNoSca.D.T,pidNoSca.D.k,pidNoSca.D.y_start,pidNoSca.I.k,pidNoSca.I.trigger,pidNoSca.I.y_reset_in,pidNoSca.I.y_start,pidNoSca.Nd,pidNoSca.Ni,pidNoSca.P.k,pidNoSca.TDer.k,pidNoSca.TDer.y,pidNoSca.Td,pidNoSca.Ti,pidNoSca.antWinGai.k,pidNoSca.assMesYMinMax.u,pidNoSca.cheYMinMax.k,pidNoSca.cheYMinMax.y,pidNoSca.con.k,pidNoSca.con.y,pidNoSca.con1.k,pidNoSca.con1.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.yd_start,pidSca.D.T,pidSca.D.k,pidSca.D.y_start,pidSca.I.k,pidSca.I.trigger,pidSca.I.y_reset_in,pidSca.I.y_start,pidSca.Nd,pidSca.Ni,pidSca.P.k,pidSca.TDer.k,pidSca.TDer.y,pidSca.Td,pidSca.Ti,pidSca.antWinGai.k,pidSca.assMesYMinMax.u,pidSca.cheYMinMax.k,pidSca.cheYMinMax.y,pidSca.con.k,pidSca.con.y,pidSca.con1.k,pidSca.con1.y,pidSca.controllerType,pidSca.k,pidSca.kDer.k,pidSca.kDer.y,pidSca.lim.uMax,pidSca.lim.uMin,pidSca.r,pidSca.revAct,pidSca.reverseActing,pidSca.uMea_revAct.k,pidSca.uS_revAct.k,pidSca.u_s,pidSca.xi_start,pidSca.y,pidSca.yMax,pidSca.yMin,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.767495026811957]