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 4.93/4.93, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002362/0.002361, allocations: 358.1 kB / 0.644 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.364/4.364, allocations: 410.7 MB / 1.112 GB, free: 5.941 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.001784/0.001784, allocations: 188.2 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.000496, allocations: 23.98 kB / 1.348 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5874, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0007901/0.5883, allocations: 479.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.5895, allocations: 1.101 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.5896, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.5896, allocations: 4.5 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.5897, allocations: 4.781 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.5902, allocations: 126.8 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.5903, allocations: 91.81 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.5904, allocations: 9.062 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.5905, allocations: 39.91 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.5906, allocations: 40.73 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.5906, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.5907, allocations: 19.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.5907, allocations: 10.17 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.5908, allocations: 37.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.5909, allocations: 75.81 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.865e-06/0.5909, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5909, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5909, 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.0004603/0.5914, allocations: 397.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5914, allocations: 11.62 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.5915, allocations: 11.91 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.5916, allocations: 175.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5916, allocations: 5.219 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5917, allocations: 8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.5919, allocations: 66.41 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.5919, allocations: 0.75 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.5919, allocations: 12.95 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-06/0.5919, allocations: 0.7188 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.5921, allocations: 53.95 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.5926, allocations: 330.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5928, allocations: 69.2 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.593, allocations: 39.09 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.593, allocations: 0.5625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.5932, allocations: 89.14 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.764e-06/0.5933, allocations: 1.281 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004943/0.5938, allocations: 171.9 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.5938, allocations: 56.16 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.5939, allocations: 119.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.5939, allocations: 29.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.594, allocations: 96.03 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.594, allocations: 19.75 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.5941, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.5941, allocations: 320.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.5943, allocations: 56.59 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.5945, allocations: 95.66 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.5947, allocations: 83.67 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5948, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005409/0.5953, allocations: 226.2 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5954, allocations: 40.42 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.806e-06/0.5954, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5954, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5955, allocations: 19.98 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.282e-06/0.5955, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.5958, allocations: 56.11 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.5959, allocations: 7.984 kB / 1.465 GB, free: 279.5 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 8.976e-05/0.596, allocations: 118.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.596, allocations: 12.5 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.596, allocations: 9.625 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.013e-06/0.596, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-06/0.5961, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.475e-06/0.5961, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.5966, allocations: 390.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-06/0.5966, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.5967, allocations: 12.61 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.041e-06/0.5967, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5968, allocations: 6.609 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-06/0.5968, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.518e-06/0.5968, allocations: 3.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.5971, allocations: 218.8 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.5972, allocations: 81.02 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5972, allocations: 8.734 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.5974, allocations: 9.125 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5974, allocations: 7.984 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5974, allocations: 8.609 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.5975, allocations: 94.7 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.13e-07/0.5975, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003521/0.5979, allocations: 24 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.598, allocations: 109.2 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.5985, allocations: 186.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.724e-06/0.5985, allocations: 0.625 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5986, allocations: 45.73 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.599, allocations: 16.83 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.5994, allocations: 185.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.5995, allocations: 0.6916 MB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.5996, allocations: 4 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.5996, allocations: 11.44 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.545e-06/0.5996, allocations: 0 / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004179/0.6038, allocations: 1.271 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB