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.DamperValves.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.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.374/5.374, 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.002471/0.002471, allocations: 360 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.347/4.347, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001866/0.001865, allocations: 190.4 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 8 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7929, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.008245/0.8012, allocations: 3.993 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005617/0.8069, allocations: 1.528 MB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.8085, allocations: 21.56 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.8093, allocations: 98.89 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.8109, allocations: 138.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.8134, allocations: 388.3 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.8164, allocations: 1.255 MB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.8191, allocations: 0.8248 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.82, allocations: 307.9 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.8207, allocations: 385.7 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.8211, allocations: 40 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.8213, allocations: 49.7 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.8216, allocations: 175.2 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.822, allocations: 213.1 kB / 1.471 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.8247, allocations: 1.506 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.8248, allocations: 0.5 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.218e-06/0.8248, allocations: 4 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.223e-05/0.8249, allocations: 0.5625 kB / 1.472 GB, free: 273.5 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00517/0.8301, allocations: 1.231 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.8302, allocations: 17.28 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.8308, allocations: 138.4 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.8334, allocations: 0.681 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.8337, allocations: 94.94 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.8342, allocations: 128 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.839, allocations: 1.149 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.8391, allocations: 0.7188 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.8394, allocations: 47.98 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.8394, allocations: 26.12 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/0.8438, allocations: 0.8483 MB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.8548, allocations: 3.726 MB / 1.48 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.8572, allocations: 0.7416 MB / 1.481 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.8583, allocations: 354.4 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-05/0.8584, allocations: 13.25 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.8599, allocations: 494 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 5.23e-06/0.8599, allocations: 3.938 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.003619/0.8636, allocations: 1.055 MB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.8637, allocations: 94.59 kB / 1.483 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.8648, allocations: 0.7164 MB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.865, allocations: 57.7 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.8654, allocations: 495.5 kB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.8657, allocations: 213.1 kB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.8657, allocations: 28.66 kB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8659, allocations: 399.2 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.8671, allocations: 308.9 kB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.8684, allocations: 0.5841 MB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8696, allocations: 341 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.8696, allocations: 1.094 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002936/0.8725, allocations: 0.9757 MB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.8728, allocations: 316.2 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.8728, allocations: 11.95 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.8728, allocations: 12.88 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.874, allocations: 172.9 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.874, allocations: 17.34 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.8751, allocations: 140.3 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.8752, allocations: 44.67 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.8752, allocations: 4.719 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0024/0.8776, allocations: 0.8577 MB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8777, allocations: 8 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.8777, allocations: 16 kB / 1.488 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8788, allocations: 169.4 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.8788, allocations: 19.92 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009276/0.8798, allocations: 133.9 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.8799, allocations: 46.08 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truHol2.onDelay.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truDel4.t_next,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger,damVal.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 131 * 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.000723/0.8806, allocations: 394.1 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.8808, allocations: 86.97 kB / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.8834, allocations: 0.8396 MB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.8834, allocations: 7.969 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8834, allocations: 0 / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.8837, allocations: 167.8 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.8839, allocations: 24 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.8846, allocations: 59.23 kB / 1.49 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.8849, allocations: 97.86 kB / 1.49 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002924/0.8878, allocations: 1.009 MB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00367/0.8915, allocations: 1.467 MB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00108/0.8927, allocations: 394.7 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007645/0.8934, allocations: 463 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of Backend: time 7.71e-07/0.8935, allocations: 4 kB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.8971, allocations: 1.084 MB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003746/0.9009, allocations: 2.183 MB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03252/0.9334, allocations: 11.33 MB / 1.508 GB, free: 236.9 MB / 0.8542 GB