Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.0018/0.0018, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.201e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.004899/0.004932, allocations: 3.238 MB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.007001, allocations: 0.849 MB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.007627, allocations: 15.94 kB / 0.9555 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.008009, allocations: 98.88 kB / 0.9556 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.008255, allocations: 91.12 kB / 0.9556 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.008837, allocations: 263.6 kB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.009651, allocations: 0.8056 MB / 0.9567 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.01024, allocations: 430.4 kB / 0.9571 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.01054, allocations: 270.9 kB / 0.9573 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.0108, allocations: 274.5 kB / 0.9576 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.01092, allocations: 87.94 kB / 0.9577 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.01101, allocations: 84 kB / 0.9578 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0007029/0.01171, allocations: 0.9841 MB / 0.9587 GB, free: 188 kB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0004022/0.01213, allocations: 0.6389 MB / 0.9594 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.01226, allocations: 107.6 kB / 0.9595 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001528/0.01242, allocations: 43.56 kB / 0.9595 GB, free: 15.38 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 (129) * Number of variables: 129 (129) Notification: Performance of Bindings: time 0.002898/0.01532, allocations: 3.09 MB / 0.9625 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001841/0.01551, allocations: 139.7 kB / 0.9627 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.001491/0.01701, allocations: 1.518 MB / 0.9641 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001204/0.01714, allocations: 103.9 kB / 0.9642 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of Alias: time 0.004282/0.02143, allocations: 3.695 MB / 0.9678 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of simplify2: time 7.205e-05/0.02152, allocations: 59.92 kB / 0.9679 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0003179/0.02184, allocations: 262.7 kB / 0.9682 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of Events: time 0.0002476/0.0221, allocations: 179.4 kB / 0.9683 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.000387/0.0225, allocations: 385.7 kB / 0.9687 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of Causalize: time 0.001492/0.02399, allocations: 1.288 MB / 0.9699 GB, free: 4 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0008016/0.02481, allocations: 0.8654 MB / 0.9708 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of Inline: time 0.002237/0.02705, allocations: 2.123 MB / 0.9729 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001608/0.02723, allocations: 139.5 kB / 0.973 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of Cleanup: time 0.0002195/0.02745, allocations: 211.6 kB / 0.9732 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of Causalize: time 0.00716/0.03462, allocations: 6.064 MB / 0.9791 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of Tearing: time 2.501e-05/0.03468, allocations: 4 kB / 0.9791 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of Initialization: time 1.283e-06/0.03468, allocations: 0 / 0.9791 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of Tearing: time 1.175e-05/0.0347, allocations: 3.938 kB / 0.9791 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of Categorize: time 2.543e-05/0.03473, allocations: 8 kB / 0.9791 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of Solve: time 0.0006888/0.03543, allocations: 379.4 kB / 0.9795 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of Jacobian: time 0.0005598/0.03599, allocations: 0.5363 MB / 0.98 GB, free: 9.516 MB / 0.7637 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: ......... 5 * 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: ............................. 2 (2) {vavBoxCon.conHea.addPID.u2, vavBoxCon.conCoo.addPID.u2} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {vavBoxCon.hysWitHol.y, vavBoxCon.assMes.u, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $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: ........... 53 (scalar:53, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 126 (scalar:126, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 126 (scalar:126, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001648/0.03617, allocations: 59.73 kB / 0.9801 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of SimCode: time 0.002707/0.03888, allocations: 3.001 MB / 0.983 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of Templates: time 0.009047/0.04794, allocations: 4.532 MB / 0.9874 GB, free: 1.883 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,vavBoxCon.TRooHeaSet,vavBoxCon.TRooCooSet,vavBoxCon.TRoo,vavBoxCon.conHea.y,vavBoxCon.conCoo.y,vavBoxCon.yDam,vavBoxCon.yVal Variables in the result:cooSet.k,cooSet.y,heaSet.k,heaSet.y,ram.duration,ram.height,ram.offset,ram.startTime,rooTem.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,time,vavBoxCon.TRoo,vavBoxCon.TRooCooSet,vavBoxCon.TRooHeaSet,vavBoxCon.TdCoo,vavBoxCon.TdHea,vavBoxCon.TiCoo,vavBoxCon.TiHea,vavBoxCon.conCoo.I.k,vavBoxCon.conCoo.I.trigger,vavBoxCon.conCoo.I.y_reset_in,vavBoxCon.conCoo.I.y_start,vavBoxCon.conCoo.Nd,vavBoxCon.conCoo.Ni,vavBoxCon.conCoo.P.k,vavBoxCon.conCoo.Td,vavBoxCon.conCoo.Ti,vavBoxCon.conCoo.addPD.u2,vavBoxCon.conCoo.antWinGai.k,vavBoxCon.conCoo.assMesYMinMax.u,vavBoxCon.conCoo.cheYMinMax.k,vavBoxCon.conCoo.cheYMinMax.y,vavBoxCon.conCoo.con.k,vavBoxCon.conCoo.con.y,vavBoxCon.conCoo.con1.k,vavBoxCon.conCoo.con1.y,vavBoxCon.conCoo.controlError.u1,vavBoxCon.conCoo.controllerType,vavBoxCon.conCoo.k,vavBoxCon.conCoo.lim.uMax,vavBoxCon.conCoo.lim.uMin,vavBoxCon.conCoo.r,vavBoxCon.conCoo.revAct,vavBoxCon.conCoo.reverseActing,vavBoxCon.conCoo.uMea_revAct.k,vavBoxCon.conCoo.uS_revAct.k,vavBoxCon.conCoo.uS_revAct.u,vavBoxCon.conCoo.u_s,vavBoxCon.conCoo.xi_start,vavBoxCon.conCoo.y,vavBoxCon.conCoo.yMax,vavBoxCon.conCoo.yMin,vavBoxCon.conCoo.yd_start,vavBoxCon.conHea.I.k,vavBoxCon.conHea.I.trigger,vavBoxCon.conHea.I.y_reset_in,vavBoxCon.conHea.I.y_start,vavBoxCon.conHea.Nd,vavBoxCon.conHea.Ni,vavBoxCon.conHea.P.k,vavBoxCon.conHea.Td,vavBoxCon.conHea.Ti,vavBoxCon.conHea.addPD.u2,vavBoxCon.conHea.antWinGai.k,vavBoxCon.conHea.assMesYMinMax.u,vavBoxCon.conHea.cheYMinMax.k,vavBoxCon.conHea.cheYMinMax.y,vavBoxCon.conHea.con.k,vavBoxCon.conHea.con.y,vavBoxCon.conHea.con1.k,vavBoxCon.conHea.con1.y,vavBoxCon.conHea.controlError.u1,vavBoxCon.conHea.controllerType,vavBoxCon.conHea.k,vavBoxCon.conHea.lim.uMax,vavBoxCon.conHea.lim.uMin,vavBoxCon.conHea.r,vavBoxCon.conHea.revAct,vavBoxCon.conHea.reverseActing,vavBoxCon.conHea.uMea_revAct.k,vavBoxCon.conHea.uS_revAct.k,vavBoxCon.conHea.uS_revAct.u,vavBoxCon.conHea.u_s,vavBoxCon.conHea.xi_start,vavBoxCon.conHea.y,vavBoxCon.conHea.yMax,vavBoxCon.conHea.yMin,vavBoxCon.conHea.yd_start,vavBoxCon.conOne.k,vavBoxCon.conOne.y,vavBoxCon.conZer.k,vavBoxCon.conZer.y,vavBoxCon.cooController,vavBoxCon.cooMax.k,vavBoxCon.cooMax.y,vavBoxCon.dTHea.u1,vavBoxCon.dTHys,vavBoxCon.dTSet.u1,vavBoxCon.dTSet.u2,vavBoxCon.greThr.greNoHys.t,vavBoxCon.greThr.h,vavBoxCon.greThr.have_hysteresis,vavBoxCon.greThr.pre_y_start,vavBoxCon.greThr.t,vavBoxCon.heaController,vavBoxCon.hysWitHol.pre_y_start,vavBoxCon.hysWitHol.uHigh,vavBoxCon.hysWitHol.uLow,vavBoxCon.kCoo,vavBoxCon.kHea,vavBoxCon.minFloCoo.k,vavBoxCon.minFloCoo.y,vavBoxCon.minFloHea.k,vavBoxCon.minFloHea.y,vavBoxCon.ratVFloHea,vavBoxCon.ratVFloMin,vavBoxCon.reqFlo.f2,vavBoxCon.reqFlo.limitAbove,vavBoxCon.reqFlo.limitBelow,vavBoxCon.reqFlo.u,vavBoxCon.reqFlo.x1,vavBoxCon.reqFlo.x2,vavBoxCon.reqFlo.y,vavBoxCon.swi.u1,vavBoxCon.swi.u3,vavBoxCon.yDam,vavBoxCon.yMax,vavBoxCon.yMin,vavBoxCon.yVal