Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.304/5.304, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 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.003903/0.003903, allocations: 354.5 kB / 0.6446 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.647/4.647, allocations: 410.7 MB / 1.113 GB, free: 5.949 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.001809/0.001809, allocations: 176.1 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005091, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7617, 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.FallingEdge): time 0.0009964/0.7627, allocations: 482.1 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.7643, allocations: 1.111 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.7644, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.7644, allocations: 3.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.7645, allocations: 3.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.7651, allocations: 121 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.7652, allocations: 91.81 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7653, allocations: 18.97 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.7654, allocations: 43.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.7655, allocations: 27.91 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.7656, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.7657, allocations: 23.97 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.7657, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.7657, allocations: 42.77 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.7659, allocations: 75.81 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7659, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7659, allocations: 1.062 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7659, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005823/0.7665, allocations: 400.2 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.7666, allocations: 10.58 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.7666, allocations: 11.91 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.7668, allocations: 178.8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.7668, allocations: 4.531 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.7668, allocations: 12 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.7671, allocations: 74.58 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7671, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7672, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7672, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.7675, allocations: 61.7 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.768, allocations: 339 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.7683, allocations: 65.36 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.7685, allocations: 35.72 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7685, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.7689, allocations: 91.86 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.7689, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006529/0.7695, allocations: 158.1 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.7696, allocations: 56.98 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.7697, allocations: 123.6 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.7697, allocations: 29.7 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.7698, allocations: 92.81 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.7698, allocations: 23.81 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.7699, allocations: 6.312 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.7699, allocations: 318.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.7702, allocations: 51.97 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.7705, allocations: 98.47 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.7708, allocations: 93.14 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7708, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006677/0.7714, allocations: 218.5 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.7715, allocations: 41.69 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7715, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7716, allocations: 1.75 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.7717, allocations: 12 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.7717, allocations: 7.969 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.7722, allocations: 47.27 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.7722, allocations: 15.98 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.0001156/0.7723, allocations: 130.5 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.7724, allocations: 7.906 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.7724, allocations: 8.875 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7724, allocations: 4.906 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7724, allocations: 3.984 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.7725, allocations: 92.03 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.7725, allocations: 3.953 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.7726, allocations: 12.48 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.7727, allocations: 5.594 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004927/0.7732, allocations: 207.3 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004473/0.7737, allocations: 289.5 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001858/0.7739, allocations: 41.34 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.774, allocations: 99.19 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 9.82e-07/0.774, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008361/0.7748, allocations: 237.2 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005699/0.7754, allocations: 0.6196 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005209/0.7806, allocations: 1.375 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB