Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 443.4 MB / 0.7311 GB, free: 12.7 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.214e-05, allocations: 4.953 kB / 1.06 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.004826/0.004848, allocations: 3.033 MB / 1.063 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.007672, allocations: 1.539 MB / 1.064 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.007989, allocations: 11.94 kB / 1.064 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.009055, allocations: 317.5 kB / 1.065 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005852/0.00964, allocations: 246.9 kB / 1.065 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.01065, allocations: 411.2 kB / 1.065 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008881/0.01154, allocations: 0.7767 MB / 1.066 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.01187, allocations: 166.2 kB / 1.066 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.01227, allocations: 318.8 kB / 1.066 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01258, allocations: 270.8 kB / 1.067 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.01266, allocations: 52 kB / 1.067 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.01293, allocations: 119.9 kB / 1.067 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.0008874/0.01382, allocations: 0.9044 MB / 1.068 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.0004164/0.01424, allocations: 0.5468 MB / 1.068 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.01439, allocations: 79.69 kB / 1.068 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.000137/0.01453, allocations: 27.81 kB / 1.068 GB, free: 11.13 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (77) * Number of variables: 80 (76) Notification: Performance of Bindings: time 0.00204/0.01657, allocations: 1.789 MB / 1.07 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002445/0.01681, allocations: 180.8 kB / 1.07 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.0007395/0.01755, allocations: 0.6684 MB / 1.071 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of Simplify 1: time 0.0002107/0.01776, allocations: 148.9 kB / 1.071 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of Alias: time 0.002555/0.02032, allocations: 1.691 MB / 1.073 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of Simplify 2: time 0.0001553/0.02047, allocations: 110.5 kB / 1.073 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of Remove Stream: time 0.0001389/0.02061, allocations: 114.6 kB / 1.073 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of Detect States: time 0.000446/0.02106, allocations: 238.3 kB / 1.073 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of Events: time 0.0002199/0.02128, allocations: 131.7 kB / 1.073 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.0004157/0.02169, allocations: 292.2 kB / 1.074 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of Causalize: time 0.001436/0.02313, allocations: 0.9384 MB / 1.075 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.0005915/0.02372, allocations: 419.7 kB / 1.075 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of Simplify: time 0.00416/0.02788, allocations: 0.8565 MB / 1.076 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of Inline: time 0.000918/0.0288, allocations: 0.7179 MB / 1.076 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of Partitioning: time 6.673e-05/0.02886, allocations: 39.62 kB / 1.076 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of Cleanup: time 0.0003421/0.02921, allocations: 299.6 kB / 1.077 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of Causalize: time 0.005776/0.03498, allocations: 3.749 MB / 1.08 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of Tearing: time 3.096e-05/0.03501, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Initialization: time 6.72e-07/0.03501, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Remove Dummies: time 1.541e-05/0.03503, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Tearing: time 3.066e-06/0.03503, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Categorize: time 2.009e-05/0.03505, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Solve: time 0.0006015/0.03565, allocations: 199.2 kB / 1.081 GB, free: 14 MB / 0.8887 GB Notification: Performance of Jacobian: time 0.0005776/0.03623, allocations: 434.2 kB / 1.081 GB, free: 13.54 MB / 0.8887 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: ......... 2 * 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: ............................. 1 (1) {chiBypCon.bypValCon.addPID.u2} * Number of discrete states: .................... 4 (4) {onTwo.combiTimeTable.nextTimeEvent, onTwo.combiTimeTable.nextTimeEventScaled, onOne.combiTimeTable.nextTimeEvent, onOne.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (18) {chiBypCon.chiOn, chiBypCon.booToInt.y, chiBypCon.intGreThr.u, chiBypCon.intGreThr.y, onOne.y, onTwo.y, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, 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: ........... 81 (scalar:77, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, 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: ........... 81 (scalar:77, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001197/0.03635, allocations: 69.77 kB / 1.081 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of SimCode: time 0.004759/0.04111, allocations: 2.879 MB / 1.084 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of Templates: time 0.01107/0.05218, allocations: 4.739 MB / 1.089 GB, free: 5.984 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,onOne.y,onTwo.y,chiBypCon.bypValCon.u_s,chiBypCon.bypValCon.u_m,chiBypCon.y Variables in the result:chiBypCon.Ti,chiBypCon.booToInt[1].integerFalse,chiBypCon.booToInt[1].integerTrue,chiBypCon.booToInt[2].integerFalse,chiBypCon.booToInt[2].integerTrue,chiBypCon.bypValCon.I.k,chiBypCon.bypValCon.I.y_start,chiBypCon.bypValCon.Nd,chiBypCon.bypValCon.Ni,chiBypCon.bypValCon.P.k,chiBypCon.bypValCon.Td,chiBypCon.bypValCon.Ti,chiBypCon.bypValCon.addPD.u2,chiBypCon.bypValCon.addRes.u1,chiBypCon.bypValCon.antWinGai.k,chiBypCon.bypValCon.assMesYMinMax.u,chiBypCon.bypValCon.cheYMinMax.k,chiBypCon.bypValCon.cheYMinMax.y,chiBypCon.bypValCon.controllerType,chiBypCon.bypValCon.k,chiBypCon.bypValCon.lim.uMax,chiBypCon.bypValCon.lim.uMin,chiBypCon.bypValCon.r,chiBypCon.bypValCon.revAct,chiBypCon.bypValCon.reverseActing,chiBypCon.bypValCon.uMea_revAct.k,chiBypCon.bypValCon.uS_revAct.k,chiBypCon.bypValCon.u_m,chiBypCon.bypValCon.u_s,chiBypCon.bypValCon.xi_start,chiBypCon.bypValCon.yMax,chiBypCon.bypValCon.yMin,chiBypCon.bypValCon.yResSig.k,chiBypCon.bypValCon.yResSig.y,chiBypCon.bypValCon.y_reset,chiBypCon.bypValCon.yd_start,chiBypCon.controllerType,chiBypCon.intGreThr.t,chiBypCon.k,chiBypCon.mFloBypSca.k,chiBypCon.mFloBypSca.y,chiBypCon.mFloSetSca.k,chiBypCon.mFloSetSca.y,chiBypCon.mMin_flow,chiBypCon.numChi,chiBypCon.numChiOn.k[1],chiBypCon.numChiOn.k[2],chiBypCon.y,mFloChi.amplitude,mFloChi.f,mFloChi.offset,mFloChi.phase,mFloChi.startTime,onOne.combiTimeTable.columns[1],onOne.combiTimeTable.extrapolation,onOne.combiTimeTable.nout,onOne.combiTimeTable.offset[1],onOne.combiTimeTable.p_offset[1],onOne.combiTimeTable.shiftTime,onOne.combiTimeTable.smoothness,onOne.combiTimeTable.startTime,onOne.combiTimeTable.t_max,onOne.combiTimeTable.t_maxScaled,onOne.combiTimeTable.t_min,onOne.combiTimeTable.t_minScaled,onOne.combiTimeTable.tableOnFile,onOne.combiTimeTable.table[1,1],onOne.combiTimeTable.table[1,2],onOne.combiTimeTable.table[2,1],onOne.combiTimeTable.table[2,2],onOne.combiTimeTable.table[3,1],onOne.combiTimeTable.table[3,2],onOne.combiTimeTable.timeEvents,onOne.combiTimeTable.timeScale,onOne.combiTimeTable.timeScaled,onOne.combiTimeTable.verboseExtrapolation,onOne.combiTimeTable.verboseRead,onOne.extrapolation,onOne.n,onOne.realToBoolean.threshold,onOne.shiftTime,onOne.startTime,onOne.startValue,onOne.table[1],onOne.table[2],onOne.y,onTwo.combiTimeTable.columns[1],onTwo.combiTimeTable.extrapolation,onTwo.combiTimeTable.nout,onTwo.combiTimeTable.offset[1],onTwo.combiTimeTable.p_offset[1],onTwo.combiTimeTable.shiftTime,onTwo.combiTimeTable.smoothness,onTwo.combiTimeTable.startTime,onTwo.combiTimeTable.t_max,onTwo.combiTimeTable.t_maxScaled,onTwo.combiTimeTable.t_min,onTwo.combiTimeTable.t_minScaled,onTwo.combiTimeTable.tableOnFile,onTwo.combiTimeTable.table[1,1],onTwo.combiTimeTable.table[1,2],onTwo.combiTimeTable.table[2,1],onTwo.combiTimeTable.table[2,2],onTwo.combiTimeTable.table[3,1],onTwo.combiTimeTable.table[3,2],onTwo.combiTimeTable.timeEvents,onTwo.combiTimeTable.timeScale,onTwo.combiTimeTable.timeScaled,onTwo.combiTimeTable.verboseExtrapolation,onTwo.combiTimeTable.verboseRead,onTwo.extrapolation,onTwo.n,onTwo.realToBoolean.threshold,onTwo.shiftTime,onTwo.startTime,onTwo.startValue,onTwo.table[1],onTwo.table[2],onTwo.y,time [Calling sys.exit(0), Time elapsed: 8.520198325626552]