Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plaReq.TAirSup|plaReq.TAirSupSet|plaReq.uCooCoiSet|plaReq.uHeaCoiSet|plaReq.yHotWatResReq|plaReq.yHotWatPlaReq|plaReq1.TAirSup|plaReq1.TAirSupSet|plaReq1.uCooCoiSet|plaReq1.yChiWatResReq|plaReq1.yChiPlaReq",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plaReq.TAirSup|plaReq.TAirSupSet|plaReq.uCooCoiSet|plaReq.uHeaCoiSet|plaReq.yHotWatResReq|plaReq.yHotWatPlaReq|plaReq1.TAirSup|plaReq1.TAirSupSet|plaReq1.uCooCoiSet|plaReq1.yChiWatResReq|plaReq1.yChiPlaReq",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001212/0.001212, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.594/1.594, 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.0.1-master/package.mo): time 2.99/2.99, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9338, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests): time 0.006052/0.9399, allocations: 3.55 MB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00388/0.9438, allocations: 2.128 MB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.9449, allocations: 43.75 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.9456, allocations: 210 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006622/0.9463, allocations: 142.7 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.9475, allocations: 499.2 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.9492, allocations: 1.403 MB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9504, allocations: 0.6375 MB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.9512, allocations: 0.4905 MB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.9518, allocations: 0.5055 MB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.9522, allocations: 144 kB / 1.23 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.9525, allocations: 144 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.9528, allocations: 303.1 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.9535, allocations: 0.5287 MB / 1.231 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.9554, allocations: 1.831 MB / 1.233 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9554, allocations: 4 kB / 1.233 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9554, allocations: 0 / 1.233 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.161e-05/0.9555, allocations: 0 / 1.233 GB, free: 5.742 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.00424/0.9598, allocations: 1.438 MB / 1.235 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.9598, allocations: 8.625 kB / 1.235 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.9602, allocations: 119.6 kB / 1.235 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.9632, allocations: 1.016 MB / 1.236 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.9633, allocations: 74.36 kB / 1.236 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.9635, allocations: 96.34 kB / 1.236 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.9655, allocations: 0.8714 MB / 1.237 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.9655, allocations: 8.172 kB / 1.237 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/0.9656, allocations: 43.91 kB / 1.237 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.9657, allocations: 16 kB / 1.237 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.9674, allocations: 0.6112 MB / 1.237 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.9715, allocations: 2.067 MB / 1.239 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.9732, allocations: 0.7532 MB / 1.24 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.9741, allocations: 370.1 kB / 1.24 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.9742, allocations: 7.859 kB / 1.24 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.9756, allocations: 0.651 MB / 1.241 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 4.388e-06/0.9757, allocations: 0 / 1.241 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.003121/0.9788, allocations: 1.302 MB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.9789, allocations: 89.55 kB / 1.242 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.9797, allocations: 0.6051 MB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9799, allocations: 69.7 kB / 1.243 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.9804, allocations: 396.7 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.9806, allocations: 189.6 kB / 1.244 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/0.9809, allocations: 210.9 kB / 1.244 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.9811, allocations: 402.7 kB / 1.244 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.982, allocations: 298.4 kB / 1.245 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.983, allocations: 0.5326 MB / 1.245 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.9847, allocations: 0.7473 MB / 1.246 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.9847, allocations: 0 / 1.246 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002308/0.987, allocations: 0.9276 MB / 1.247 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.9871, allocations: 8.062 kB / 1.247 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.9871, allocations: 12 kB / 1.247 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.9872, allocations: 12 kB / 1.247 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.9878, allocations: 139.7 kB / 1.247 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/0.9878, allocations: 15.94 kB / 1.247 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.9886, allocations: 135.2 kB / 1.247 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.9887, allocations: 40 kB / 1.247 GB, free: 7.039 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 113 ($PRE.plaReq.truDel.u,$PRE.plaReq.truDel1.u,$PRE.plaReq.greThr2.greHys.y,$PRE.plaReq.lesThr.lesHys.y,$PRE.plaReq.lesThr1.lesHys.y,$PRE.plaReq.truDel2.u,$PRE.plaReq.truDel3.u,$PRE.plaReq1.truDel.u,$PRE.plaReq1.truDel1.u,$PRE.plaReq.truDel3.t_next,$whenCondition22,$PRE.plaReq.truDel2.t_next,$whenCondition19,$PRE.plaReq.truDel1.t_next,$whenCondition13,$PRE.plaReq.truDel.t_next,$whenCondition10,plaReq.truDel3.t_next,plaReq.truDel2.t_next,plaReq.truDel1.t_next,plaReq.truDel.t_next,$PRE.plaReq1.truDel1.t_next,$whenCondition4,$PRE.plaReq1.truDel.t_next,$whenCondition1,plaReq1.truDel1.t_next,plaReq1.lesThr1.lesHys.y,$PRE.plaReq1.lesThr1.lesHys.y,plaReq1.lat1.y,plaReq1.chiWatRes1.y,plaReq1.lat.y,plaReq1.lesThr.lesHys.y,$PRE.plaReq1.lesThr.lesHys.y,plaReq1.chiWatRes2.y,plaReq1.greThr2.greHys.y,$PRE.plaReq1.greThr2.greHys.y,plaReq1.truDel1.y,plaReq1.truDel1.u,plaReq1.truDel.y,plaReq1.truDel.u,plaReq1.greThr1.greHys.y,$PRE.plaReq1.greThr1.greHys.y,plaReq1.greThr.greHys.y,$PRE.plaReq1.greThr.greHys.y,plaReq1.yChiPlaReq,plaReq1.yChiWatResReq,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8,$whenCondition9,plaReq1.truDel.t_next,plaReq.zer.y,plaReq.one.y,plaReq.two.y,plaReq.thr.y,plaReq.greThr2.greHys.y,plaReq.lesThr.lesHys.y,plaReq.lesThr1.lesHys.y,plaReq.lat3.y,plaReq.lesThr3.lesHys.y,$PRE.plaReq.lesThr3.lesHys.y,plaReq.hotWatRes1.y,plaReq.lat2.y,plaReq.greThr5.greHys.y,$PRE.plaReq.greThr5.greHys.y,plaReq.lesThr2.lesHys.y,$PRE.plaReq.lesThr2.lesHys.y,plaReq.hotWatRes2.y,plaReq.truDel3.y,plaReq.truDel3.u,plaReq.truDel2.y,plaReq.truDel2.u,plaReq.greThr4.greHys.y,$PRE.plaReq.greThr4.greHys.y,plaReq.greThr3.greHys.y,$PRE.plaReq.greThr3.greHys.y,plaReq.lat1.y,plaReq.chiWatRes1.y,plaReq.lat.y,plaReq.chiWatRes2.y,plaReq.truDel1.y,plaReq.truDel1.u,plaReq.truDel.y,plaReq.truDel.u,plaReq.greThr1.greHys.y,$PRE.plaReq.greThr1.greHys.y,plaReq.greThr.greHys.y,$PRE.plaReq.greThr.greHys.y,plaReq.yHotWatPlaReq,plaReq.yHotWatResReq,plaReq.yChiPlaReq,plaReq.yChiWatResReq,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition21,$whenCondition20,$whenCondition24,$whenCondition23,$whenCondition25,$whenCondition26,$whenCondition27,plaReq1.zer.y,plaReq1.one.y,plaReq1.two.y,plaReq1.thr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.9892, allocations: 309.5 kB / 1.247 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.9894, allocations: 90.98 kB / 1.247 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.9896, allocations: 86.8 kB / 1.248 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.9896, allocations: 3.984 kB / 1.248 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9896, allocations: 4 kB / 1.248 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.9898, allocations: 156 kB / 1.248 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.99, allocations: 43.92 kB / 1.248 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.9905, allocations: 79.88 kB / 1.248 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.9908, allocations: 132.2 kB / 1.248 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002844/0.9937, allocations: 1.182 MB / 1.249 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002315/0.996, allocations: 1.266 MB / 1.25 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001004/0.997, allocations: 487.2 kB / 1.251 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004965/0.9976, allocations: 379.1 kB / 1.251 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Backend: time 5.31e-07/0.9976, allocations: 0 / 1.251 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.9994, allocations: 0.6088 MB / 1.252 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002724/1.002, allocations: 1.705 MB / 1.253 GB, free: 452 kB / 0.9669 GB Notification: Performance of Templates: time 0.02329/1.025, allocations: 11.48 MB / 1.265 GB, free: 5.098 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_PlantRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.PlantRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches