Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.574/5.574, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002512/0.002512, allocations: 353 kB / 0.6447 GB, free: 185.6 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.471/4.471, allocations: 410.7 MB / 1.113 GB, free: 5.883 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.001904/0.001904, allocations: 182.6 kB / 1.226 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005097, allocations: 8 kB / 1.349 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9601/0.9606, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001057/0.9617, allocations: 331 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.9639, allocations: 1.069 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.964, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.964, allocations: 0.75 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.9641, allocations: 7.922 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.9648, allocations: 112.9 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.9649, allocations: 63.89 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.965, allocations: 5.375 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.9651, allocations: 31.91 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.9652, allocations: 20.56 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.9653, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.9654, allocations: 16.89 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.9654, allocations: 11.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.9655, allocations: 31.33 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.9657, allocations: 55.88 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.9657, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9657, allocations: 7.875 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9657, allocations: 0 / 1.463 GB, free: 282.6 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004113/0.9662, allocations: 364 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9662, allocations: 12.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.9663, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.9664, allocations: 168 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.9664, allocations: 6.375 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.9664, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.9666, allocations: 37.69 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9666, allocations: 7.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.9666, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9666, allocations: 0.75 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.9667, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.9671, allocations: 291.2 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.9671, allocations: 23.28 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.9672, allocations: 5.641 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.9672, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.9674, allocations: 65.36 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.886e-06/0.9674, allocations: 1.828 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.9676, allocations: 65.59 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.9676, allocations: 52.78 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.9677, allocations: 109.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9677, allocations: 26.27 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.9678, allocations: 93.23 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.9678, allocations: 3.906 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.9678, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.9679, allocations: 325.2 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.968, allocations: 27.98 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.9681, allocations: 46.56 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.9683, allocations: 54.59 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9683, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003189/0.9686, allocations: 145.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.9687, allocations: 37.69 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9687, allocations: 4 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.9687, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.9687, allocations: 4.438 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9687, allocations: 4.656 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.9691, allocations: 37.91 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.9692, allocations: 8.734 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.69e-05/0.9693, allocations: 122.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.9693, allocations: 6.125 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.9693, allocations: 3.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9693, allocations: 5.156 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9694, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.9694, allocations: 81.11 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.9694, allocations: 3.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.9694, allocations: 5.234 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.9695, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001143/0.9696, allocations: 130.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001364/0.9698, allocations: 232.6 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.773e-05/0.9698, allocations: 12 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.9699, allocations: 80.28 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of Backend: time 9.02e-07/0.9699, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.9704, allocations: 199.6 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000493/0.971, allocations: 0.5755 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004238/0.9752, allocations: 0.9986 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB