Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.278/5.278, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002461/0.002461, allocations: 348.7 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.594/4.594, allocations: 410.7 MB / 1.113 GB, free: 5.973 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.001911/0.001911, allocations: 177.2 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007586/0.0007588, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7745, 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.Edge): time 0.001024/0.7756, allocations: 479.4 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.7773, allocations: 1.104 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.7774, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.7774, allocations: 7.188 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.7775, allocations: 7.922 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.7781, allocations: 120.2 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.7782, allocations: 91.81 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.7783, allocations: 13.17 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.7784, allocations: 39.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.7785, allocations: 35.84 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.7786, allocations: 4.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.7786, allocations: 19.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7787, allocations: 8.703 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.7787, allocations: 41.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.7789, allocations: 72.41 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7789, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7789, allocations: 0.7188 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7789, allocations: 0 / 1.463 GB, free: 282.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005926/0.7795, allocations: 392.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7796, allocations: 16.53 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.7796, allocations: 8.844 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.7798, allocations: 178.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.7798, allocations: 4.938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.7798, allocations: 7.984 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.7802, allocations: 76.14 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7802, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.7802, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.7802, allocations: 4.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.7805, allocations: 58.94 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.7811, allocations: 330.1 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.7813, allocations: 72.02 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.7815, allocations: 41.83 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7815, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.7819, allocations: 92.52 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.7819, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.7826, allocations: 162.1 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.7826, allocations: 55.91 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.7827, allocations: 120.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.7828, allocations: 33.7 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.7828, allocations: 96.03 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.7829, allocations: 20.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.7829, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.783, allocations: 323.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.7832, allocations: 54.59 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.7835, allocations: 93.53 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.7838, allocations: 88.52 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7838, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006767/0.7845, allocations: 221.6 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.7845, allocations: 46.84 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7846, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.7846, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.7847, allocations: 12.55 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.7848, allocations: 8.812 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.7852, allocations: 45.97 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.7852, allocations: 17.56 kB / 1.466 GB, free: 279.4 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001066/0.7853, allocations: 117.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.7854, allocations: 8.594 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.7854, allocations: 8.375 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7854, allocations: 10.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7854, allocations: 4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.7855, allocations: 81.02 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.7855, allocations: 3.953 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.7856, allocations: 11.98 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7857, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004751/0.7862, allocations: 205.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004339/0.7866, allocations: 285.6 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001806/0.7868, allocations: 43.06 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.7869, allocations: 93.12 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 9.41e-07/0.7869, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008165/0.7877, allocations: 244.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006008/0.7883, allocations: 0.6251 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004949/0.7933, allocations: 1.36 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB