Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.357/5.357, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003729/0.003729, allocations: 349.1 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.456/4.456, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001944/0.001944, allocations: 186.9 kB / 1.226 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005378, allocations: 12 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7401, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests): time 0.005669/0.7458, allocations: 3.853 MB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.7501, allocations: 1.746 MB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/0.7512, allocations: 27.88 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.7515, allocations: 88.31 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.7521, allocations: 145.6 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.7541, allocations: 497.4 kB / 1.468 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.7564, allocations: 1.609 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.7582, allocations: 0.998 MB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/0.759, allocations: 467.6 kB / 1.471 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006652/0.7596, allocations: 0.5519 MB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.7599, allocations: 61.06 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.7601, allocations: 71.98 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.7604, allocations: 263 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.7608, allocations: 267.3 kB / 1.472 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.7628, allocations: 1.86 MB / 1.474 GB, free: 272 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7628, allocations: 0.5312 kB / 1.474 GB, free: 272 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7628, allocations: 1.281 kB / 1.474 GB, free: 272 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.512e-05/0.7629, allocations: 0 / 1.474 GB, free: 272 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.005669/0.7686, allocations: 1.617 MB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.7686, allocations: 11.62 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.7692, allocations: 166.2 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.7713, allocations: 0.8118 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.7715, allocations: 132.4 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.7719, allocations: 160 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.7762, allocations: 1.453 MB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.7763, allocations: 1.672 kB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.7765, allocations: 59.97 kB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.7766, allocations: 31.94 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.7807, allocations: 1.099 MB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009344/0.7901, allocations: 4.001 MB / 1.483 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.795, allocations: 1.404 MB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.7977, allocations: 0.6397 MB / 1.485 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.7979, allocations: 26.34 kB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003699/0.8016, allocations: 1.103 MB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 7.665e-06/0.8017, allocations: 0 / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=157): time 0.008192/0.8099, allocations: 2.231 MB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.81, allocations: 127.8 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.8111, allocations: 0.6897 MB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004125/0.8115, allocations: 101.7 kB / 1.489 GB, free: 256 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.812, allocations: 0.5089 MB / 1.49 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.8126, allocations: 394.8 kB / 1.49 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8127, allocations: 40 kB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.8129, allocations: 432 kB / 1.49 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.8151, allocations: 0.5446 MB / 1.491 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.8175, allocations: 1.14 MB / 1.492 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.8197, allocations: 0.6064 MB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.8197, allocations: 4 kB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00559/0.8253, allocations: 1.753 MB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.8254, allocations: 12.97 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.8254, allocations: 16 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.071e-05/0.8255, allocations: 29.09 kB / 1.494 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.8275, allocations: 291.2 kB / 1.495 GB, free: 250 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.27e-05/0.8276, allocations: 39.86 kB / 1.495 GB, free: 250 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.8296, allocations: 252.2 kB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.8299, allocations: 84.48 kB / 1.495 GB, free: 249.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 169 ($PRE.sysReq_RehBox.lat.y,$PRE.sysReq_RehBox.lat1.y,$PRE.sysReq_RehBox.truHol.onDelay.u,$PRE.sysReq_RehBox.truHol.toOutputTrue.enableFire,$PRE.sysReq_RehBox.truHol.toInitial.enableFire,$PRE.sysReq_RehBox.tim1.u,$PRE.sysReq_RehBox.tim2.u,$PRE.sysReq_RehBox.tim3.u,$PRE.sysReq_RehBox.tim4.u,$PRE.sysReq_RehBox.tim5.u,$PRE.sysReq_RehBox.sampler4.firstTrigger,sysReq_RehBox.sampler4.firstTrigger,$PRE.sysReq_RehBox.tim.passed,sysReq_RehBox.tim.passed,$PRE.sysReq_RehBox.samTZonCooSet.firstTrigger,sysReq_RehBox.samTZonCooSet.firstTrigger,$whenCondition33,$PRE.sysReq_RehBox.tim2.t_next,$whenCondition30,$PRE.sysReq_RehBox.tim1.t_next,$whenCondition27,$PRE.sysReq_RehBox.truHol.onDelay.t_next,$whenCondition14,sysReq_RehBox.samTZonCooSet.sampleTrigger,$whenCondition15,sysReq_RehBox.uniDel.sampleTrigger,$whenCondition36,sysReq_RehBox.sampler4.sampleTrigger,$whenCondition37,TZonCooSet.sampleTrigger,sysReq_RehBox.tim2.t_next,sysReq_RehBox.tim1.t_next,sysReq_RehBox.truHol.onDelay.t_next,$whenCondition34,$whenCondition35,$whenCondition31,$whenCondition32,$whenCondition28,$whenCondition29,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition16,sysReq_RehBox.yZonTemResReq,$PRE.sysReq_RehBox.hys.y,sysReq_RehBox.hys.y,$PRE.sysReq_RehBox.hys3.y,sysReq_RehBox.hys3.y,$PRE.sysReq_RehBox.hys5.y,sysReq_RehBox.hys5.y,sysReq_RehBox.samTZonCooSet.y,$PRE.sysReq_RehBox.uniDel.y,sysReq_RehBox.uniDel.y,$PRE.sysReq_RehBox.triSam.y,sysReq_RehBox.triSam.y,$PRE.sysReq_RehBox.edg.u,sysReq_RehBox.edg.u,$PRE.sysReq_RehBox.lat.u,sysReq_RehBox.lat.u,$PRE.sysReq_RehBox.lat.clr,sysReq_RehBox.lat.clr,sysReq_RehBox.lat.y,$PRE.sysReq_RehBox.lat1.u,sysReq_RehBox.lat1.u,$PRE.sysReq_RehBox.lat1.clr,sysReq_RehBox.lat1.clr,sysReq_RehBox.lat1.y,$PRE.sysReq_RehBox.tim.entryTime,sysReq_RehBox.tim.entryTime,sysReq_RehBox.gre1.y,$PRE.sysReq_RehBox.hys2.y,sysReq_RehBox.hys2.y,sysReq_RehBox.and1.y,sysReq_RehBox.and2.y,sysReq_RehBox.truHol.stateGraphRoot.activeSteps,sysReq_RehBox.truHol.onDelay.u,sysReq_RehBox.truHol.onDelay.y,sysReq_RehBox.truHol.initialStep.active,$PRE.sysReq_RehBox.truHol.initialStep.localActive,sysReq_RehBox.truHol.initialStep.localActive,$PRE.sysReq_RehBox.truHol.initialStep.newActive,sysReq_RehBox.truHol.initialStep.newActive,$PRE.sysReq_RehBox.truHol.initialStep.oldActive,sysReq_RehBox.truHol.initialStep.oldActive,$PRE.sysReq_RehBox.truHol.outputTrue.localActive,sysReq_RehBox.truHol.outputTrue.localActive,$PRE.sysReq_RehBox.truHol.outputTrue.newActive,sysReq_RehBox.truHol.outputTrue.newActive,$PRE.sysReq_RehBox.truHol.outputTrue.oldActive,sysReq_RehBox.truHol.outputTrue.oldActive,sysReq_RehBox.truHol.outputTrue.active,sysReq_RehBox.truHol.toOutputTrue.enableFire,sysReq_RehBox.truHol.toInitial.enableFire,sysReq_RehBox.logSwi.y,sysReq_RehBox.tim1.u,sysReq_RehBox.tim1.y,sysReq_RehBox.tim2.u,sysReq_RehBox.tim2.y,sysReq_RehBox.sampler4.y,$PRE.TZonCooSet.y,TZonCooSet.y,$PRE.sysReq_RehBox.sampler2.firstTrigger,sysReq_RehBox.sampler2.firstTrigger,$PRE.sysReq_RehBox.sampler1.firstTrigger,sysReq_RehBox.sampler1.firstTrigger,$PRE.sysReq_RehBox.sampler.firstTrigger,sysReq_RehBox.sampler.firstTrigger,$whenCondition8,$PRE.sysReq_RehBox.tim3.t_next,$whenCondition11,sysReq_RehBox.sampler.sampleTrigger,$whenCondition12,sysReq_RehBox.sampler1.sampleTrigger,$whenCondition13,sysReq_RehBox.sampler2.sampleTrigger,$whenCondition9,$whenCondition10,sysReq_RehBox.yZonPreResReq,$PRE.sysReq_RehBox.hys4.y,sysReq_RehBox.hys4.y,$PRE.sysReq_RehBox.hys7.y,sysReq_RehBox.hys7.y,sysReq_RehBox.and3.y,sysReq_RehBox.and4.y,sysReq_RehBox.tim3.u,sysReq_RehBox.tim3.y,sysReq_RehBox.sampler.y,sysReq_RehBox.sampler1.y,sysReq_RehBox.sampler2.y,sysReq_RehBox.greVDis50.y,sysReq_RehBox.greVDis70.y,sysReq_RehBox.tim3.t_next,$whenCondition4,$PRE.sysReq_RehBox.tim5.t_next,$whenCondition1,$PRE.sysReq_RehBox.tim4.t_next,$whenCondition7,TDisHeaSet.sampleTrigger,sysReq_RehBox.tim5.t_next,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,sysReq_RehBox.yHeaValResReq,sysReq_RehBox.yHeaPlaReq,$PRE.sysReq_RehBox.hys8.y,sysReq_RehBox.hys8.y,$PRE.sysReq_RehBox.hys9.y,sysReq_RehBox.hys9.y,$PRE.sysReq_RehBox.hys10.y,sysReq_RehBox.hys10.y,$PRE.sysReq_RehBox.hys11.y,sysReq_RehBox.hys11.y,sysReq_RehBox.tim4.u,sysReq_RehBox.tim4.y,sysReq_RehBox.tim5.u,sysReq_RehBox.tim5.y,$PRE.TDisHeaSet.y,TDisHeaSet.y,sysReq_RehBox.tim4.t_next,sysReq_RehBox.truHol.stateGraphRoot.resume,sysReq_RehBox.truHol.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.831, allocations: 444.2 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.8313, allocations: 118.7 kB / 1.496 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.8341, allocations: 1.012 MB / 1.497 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.8342, allocations: 11.97 kB / 1.497 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8342, allocations: 0 / 1.497 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.8345, allocations: 190.4 kB / 1.497 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.835, allocations: 59.97 kB / 1.497 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.8365, allocations: 148.8 kB / 1.497 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/0.8372, allocations: 228.6 kB / 1.497 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006574/0.8438, allocations: 2.031 MB / 1.499 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005478/0.8494, allocations: 2.018 MB / 1.501 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002566/0.852, allocations: 0.8693 MB / 1.502 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007208/0.8527, allocations: 419 kB / 1.502 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of Backend: time 4.71e-07/0.8527, allocations: 0 / 1.502 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.8568, allocations: 1.086 MB / 1.503 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.004478/0.8613, allocations: 2.546 MB / 1.506 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.03994/0.9013, allocations: 14.43 MB / 1.52 GB, free: 224.3 MB / 0.8542 GB