Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.547/5.547, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002576/0.002575, allocations: 357.1 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.553/4.553, allocations: 410.7 MB / 1.113 GB, free: 5.926 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.001923/0.001922, allocations: 195.3 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008046/0.0008049, allocations: 12 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7636, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0008831/0.7645, allocations: 399.5 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.7661, allocations: 1.121 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.7662, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.7662, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.7663, allocations: 15.91 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.7672, allocations: 192 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.7673, allocations: 135.7 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.7674, allocations: 8.734 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.7675, allocations: 63.88 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.7677, allocations: 40.59 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.7677, allocations: 11.94 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.7678, allocations: 28.97 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.7678, allocations: 7.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.7679, allocations: 41.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.7681, allocations: 102.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7681, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7681, allocations: 0.8125 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7681, allocations: 0 / 1.463 GB, free: 282.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004556/0.7686, allocations: 407.1 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7686, allocations: 13.28 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.7687, allocations: 11.91 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.7688, allocations: 176.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7689, allocations: 12 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.7689, allocations: 13.28 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7691, allocations: 45.67 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7691, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7691, allocations: 0.5312 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.7691, allocations: 4.562 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.7692, allocations: 16 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.7697, allocations: 362.4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.7698, allocations: 31.58 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.7699, allocations: 22.25 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.7699, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.7701, allocations: 75.91 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 4.538e-06/0.7701, allocations: 2.938 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000297/0.7704, allocations: 113.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.7705, allocations: 51.41 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.7706, allocations: 122 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.7706, allocations: 34.7 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.7707, allocations: 92.92 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.7707, allocations: 11.75 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.7708, allocations: 9 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.144e-05/0.7708, allocations: 322.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.771, allocations: 57.75 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.7713, allocations: 103.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.7715, allocations: 113.6 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7715, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006078/0.7721, allocations: 263.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.7722, allocations: 71.39 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7722, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.7723, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.7723, allocations: 4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.7724, allocations: 4.938 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.7735, allocations: 80.02 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.7736, allocations: 12.27 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001878/0.7738, allocations: 125.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.7739, allocations: 7.906 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.774, allocations: 12.38 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.774, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.774, allocations: 1.828 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.7741, allocations: 81.02 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.7741, allocations: 7.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.7742, allocations: 9.25 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.7743, allocations: 7.984 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003289/0.7747, allocations: 167.3 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003142/0.775, allocations: 250.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.412e-05/0.7751, allocations: 23.98 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.7752, allocations: 96.27 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 1.523e-06/0.7752, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.7767, allocations: 316.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009261/0.7777, allocations: 0.6043 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.008848/0.7866, allocations: 1.753 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB