Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.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.001328/0.001328, allocations: 92.22 kB / 20.22 MB, free: 1.309 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.001391/0.001391, allocations: 158.1 kB / 23.52 MB, free: 4.211 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.443/1.443, allocations: 177.1 MB / 203.9 MB, free: 9.035 MB / 190.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.174/3.174, allocations: 428.5 MB / 0.6727 GB, free: 9.543 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaLagChiPum.chiWatFloRat.y|enaEdg.y|enaLagChiPum.tim.y|enaLagChiPum.enaPum.y|disEdg.y|enaLagChiPum.tim1.y|enaLagChiPum.disPum.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaLagChiPum.chiWatFloRat.y|enaEdg.y|enaLagChiPum.tim.y|enaLagChiPum.enaPum.y|disEdg.y|enaLagChiPum.tim1.y|enaLagChiPum.disPum.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.512e-05, allocations: 4.844 kB / 0.8771 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP): time 0.002578/0.002593, allocations: 1.337 MB / 0.8784 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004171, allocations: 1.149 MB / 0.8795 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.004279, allocations: 4 kB / 0.8795 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.00443, allocations: 43.47 kB / 0.8796 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.004598, allocations: 40.64 kB / 0.8796 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.004964, allocations: 164.8 kB / 0.8798 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.00553, allocations: 493.3 kB / 0.8803 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.005827, allocations: 152.9 kB / 0.8804 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.006172, allocations: 255.5 kB / 0.8806 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.006353, allocations: 131.5 kB / 0.8808 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.006427, allocations: 52 kB / 0.8808 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.00652, allocations: 56 kB / 0.8809 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004958/0.007016, allocations: 0.6206 MB / 0.8815 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002497/0.007265, allocations: 367.1 kB / 0.8818 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.007327, allocations: 25.09 kB / 0.8819 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.195e-05/0.007379, allocations: 27.69 kB / 0.8819 GB, free: 13 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 (84) * Number of variables: 91 (82) Notification: Performance of [SIM] Bindings: time 0.001872/0.009251, allocations: 1.721 MB / 0.8836 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003376/0.009588, allocations: 299.8 kB / 0.8838 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.001762/0.01135, allocations: 1.646 MB / 0.8855 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 1: time 0.0003132/0.01166, allocations: 146.8 kB / 0.8856 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of [SIM] Alias: time 0.004153/0.01582, allocations: 2.065 MB / 0.8876 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 2: time 0.0002377/0.01605, allocations: 118.8 kB / 0.8877 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of [SIM] Remove Stream: time 0.0002087/0.01626, allocations: 131 kB / 0.8878 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of [SIM] Detect States: time 0.0007746/0.01704, allocations: 435.5 kB / 0.8883 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of [SIM] Events: time 0.0003895/0.01743, allocations: 198.1 kB / 0.8885 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of [SIM] Partitioning: time 0.0009742/0.0184, allocations: 0.4888 MB / 0.8889 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of [SIM] Causalize: time 0.001749/0.02015, allocations: 0.7752 MB / 0.8897 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001371/0.02152, allocations: 0.9094 MB / 0.8906 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of [INI] Simplify: time 0.001112/0.02263, allocations: 462.6 kB / 0.891 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of [INI] Inline: time 0.002426/0.02506, allocations: 1.647 MB / 0.8926 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of [INI] Partitioning: time 9.498e-05/0.02516, allocations: 35.98 kB / 0.8927 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of [INI] Cleanup: time 0.0003625/0.02552, allocations: 263.8 kB / 0.8929 GB, free: 1.008 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) enaLagChiPum.intToRea.u = enaLagChiPum.cha.pre_u_start; ($RES_SRT_171) Notification: Performance of [INI] Causalize: time 0.004307/0.02982, allocations: 1.907 MB / 0.8948 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of [INI] Tearing: time 4.391e-05/0.02987, allocations: 36.09 kB / 0.8948 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of [SIM] Initialization: time 1.122e-06/0.02987, allocations: 0 / 0.8948 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of [SIM] Remove Dummies: time 1.586e-05/0.02989, allocations: 12.44 kB / 0.8948 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of [SIM] Tearing: time 2.978e-05/0.02992, allocations: 24 kB / 0.8948 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of [SIM] Categorize: time 1.597e-05/0.02993, allocations: 4 kB / 0.8948 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of [SIM] Solve: time 0.0009487/0.03088, allocations: 414.8 kB / 0.8952 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of [SIM] Jacobian: time 1.561e-05/0.0309, allocations: 8 kB / 0.8952 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.51e-07/0.0309, allocations: 0 / 0.8952 GB, free: 14.6 MB / 0.8575 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: ......... 2 * 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) {disEdg.y, enaEdg.y, enaLagChiPum.tim1.tim.passed, enaLagChiPum.tim1.tim.entryTime, enaLagChiPum.tim.tim.passed, enaLagChiPum.tim.tim.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (31) {enaLagChiPum.uChiWatPum, enaLagChiPum.enaPum.y, enaLagChiPum.disPum.y, enaLagChiPum.tim.edg.u, enaLagChiPum.tim.edg.y, enaLagChiPum.tim.xor.y, enaLagChiPum.tim1.edg.u, enaLagChiPum.tim1.edg.y, enaLagChiPum.tim1.xor.y, enaLagChiPum.booToInt.y, enaLagChiPum.intToRea.u, enaLagChiPum.enaPum1.u2, enaLagChiPum.enaPum1.y, enaLagChiPum.disPum1.y, enaLagChiPum.cha.u, enaLagChiPum.cha.y, enaLagChiPum.cha.up, enaLagChiPum.cha.down, enaEdg.trigger, disEdg.trigger, con.y, $WC_3, $WC_2, $WC_1, $WC_0, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, 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: ........... 73 (scalar:73, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001466/0.03104, allocations: 53.86 kB / 0.8953 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of SimCode: time 0.003478/0.03452, allocations: 2.051 MB / 0.8973 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.01062/0.04515, allocations: 2.907 MB / 0.9001 GB, free: 9.629 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Pumps_ChilledWater_Subsequences_Validation_EnableLag_primary_dP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLag_primary_dP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,enaLagChiPum.chiWatFloRat.y,enaEdg.y,enaLagChiPum.tim.y,enaLagChiPum.enaPum.y,disEdg.y,enaLagChiPum.tim1.y,enaLagChiPum.disPum.y Variables in the result:con1.k,con1.y,con[1].k,con[2].k,disEdg.y,disEdg.y_start,enaEdg.y,enaEdg.y_start,enaLagChiPum.VChiWat_flow_nominal,enaLagChiPum.addPar1.p,enaLagChiPum.booToInt[1].integerFalse,enaLagChiPum.booToInt[1].integerTrue,enaLagChiPum.booToInt[2].integerFalse,enaLagChiPum.booToInt[2].integerTrue,enaLagChiPum.booToInt[3].integerFalse,enaLagChiPum.booToInt[3].integerTrue,enaLagChiPum.cha.pre_u_start,enaLagChiPum.chiWatFloRat.k,enaLagChiPum.chiWatFloRat.y,enaLagChiPum.con2.k,enaLagChiPum.con2.y,enaLagChiPum.disPum.pre_y_start,enaLagChiPum.disPum.uHigh,enaLagChiPum.disPum.uLow,enaLagChiPum.disPum.y,enaLagChiPum.enaPum.pre_y_start,enaLagChiPum.enaPum.uHigh,enaLagChiPum.enaPum.uLow,enaLagChiPum.enaPum.y,enaLagChiPum.intGreThr.t,enaLagChiPum.nPum,enaLagChiPum.nPum_nominal,enaLagChiPum.nomPum.k,enaLagChiPum.nomPum1.k,enaLagChiPum.numOpePum.k[1],enaLagChiPum.numOpePum.k[2],enaLagChiPum.numOpePum.k[3],enaLagChiPum.relFloHys,enaLagChiPum.staCon,enaLagChiPum.sub.u2,enaLagChiPum.sub2.u1,enaLagChiPum.sub3.u2,enaLagChiPum.tim.edg.pre_u_start,enaLagChiPum.tim.t,enaLagChiPum.tim.tim.t,enaLagChiPum.tim.y,enaLagChiPum.tim1.edg.pre_u_start,enaLagChiPum.tim1.t,enaLagChiPum.tim1.tim.t,enaLagChiPum.tim1.y,enaLagChiPum.timPer,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,time [Calling sys.exit(0), Time elapsed: 8.021861001849174]