Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 107.5 kB / 16.42 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 188.8 kB / 17.36 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.175/2.175, allocations: 469.8 MB / 0.7431 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.078e-05, allocations: 2.5 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.00342/0.003438, allocations: 2.996 MB / 1.069 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.005432, allocations: 1.52 MB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.005608, allocations: 11.88 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.006323, allocations: 322.7 kB / 1.071 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.006764, allocations: 238.9 kB / 1.071 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.007435, allocations: 409 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.008035, allocations: 0.7181 MB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.008292, allocations: 162.3 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.008555, allocations: 263 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.00879, allocations: 254.8 kB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.008863, allocations: 52 kB / 1.073 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.009039, allocations: 123.9 kB / 1.073 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000456/0.009502, allocations: 0.803 MB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002457/0.009753, allocations: 0.5157 MB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.009828, allocations: 79.69 kB / 1.074 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.358e-05/0.009899, allocations: 35.81 kB / 1.074 GB, free: 5.145 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: 80 (77) * Number of variables: 80 (76) Notification: Performance of Bindings: time 0.001365/0.01127, allocations: 1.718 MB / 1.076 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001147/0.01139, allocations: 103.8 kB / 1.076 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005651/0.01196, allocations: 0.6567 MB / 1.076 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001343/0.0121, allocations: 144.9 kB / 1.077 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of Alias: time 0.001384/0.01349, allocations: 1.282 MB / 1.078 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of simplify2: time 9.273e-05/0.0136, allocations: 106.7 kB / 1.078 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001981/0.0138, allocations: 178.4 kB / 1.078 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of Events: time 0.000155/0.01397, allocations: 144 kB / 1.078 GB, free: 388 kB / 0.8419 GB Notification: Performance of Partitioning: time 0.000212/0.01419, allocations: 209.6 kB / 1.078 GB, free: 144 kB / 0.8419 GB Notification: Performance of Causalize: time 0.3942/0.4084, allocations: 0.8811 MB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004725/0.4089, allocations: 0.4949 MB / 1.08 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of Inline: time 0.002883/0.4118, allocations: 1.328 MB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.194e-05/0.4119, allocations: 37.05 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002218/0.4121, allocations: 322.2 kB / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003883/0.416, allocations: 3.514 MB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Tearing: time 1.578e-05/0.416, allocations: 1.094 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Initialization: time 4.1e-07/0.416, allocations: 0 / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Tearing: time 6.201e-06/0.4161, allocations: 4.688 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Categorize: time 1.088e-05/0.4161, allocations: 3.141 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003672/0.4164, allocations: 211.5 kB / 1.085 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0003402/0.4168, allocations: 443.6 kB / 1.086 GB, free: 14.62 MB / 0.8419 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: ......... 3 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 25 (21) {chiBypCon.chiOn, chiBypCon.booToInt.y, chiBypCon.booToInt.u, chiBypCon.intGreThr.u, chiBypCon.intGreThr.y, chiBypCon.numChiOn.u, onOne.realToBoolean.y, onTwo.realToBoolean.y, $SEV_9, $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 top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:43, array:2, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, 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: ........... 84 (scalar:78, array:4, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, 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: ........... 84 (scalar:78, array:4, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.99e-05/0.4168, allocations: 70.39 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of SimCode: time 0.00273/0.4196, allocations: 2.957 MB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of Templates: time 0.008901/0.4285, allocations: 4.798 MB / 1.093 GB, free: 12.94 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.realToBoolean.y,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.realToBoolean.y,onTwo.shiftTime,onTwo.startTime,onTwo.startValue,onTwo.table[1],onTwo.table[2],onTwo.y,time