Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 182.8 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.552/2.552, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 96.55 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007279/0.000728, allocations: 19.02 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2439, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001661/0.2456, allocations: 1.174 MB / 0.9 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005025/0.2461, allocations: 214.3 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.2462, allocations: 7.938 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.2462, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2464, allocations: 11.92 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2465, allocations: 11.98 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.2466, allocations: 39.95 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.2467, allocations: 11.98 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.2468, allocations: 15.92 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.2469, allocations: 27.86 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2469, allocations: 4 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.2469, allocations: 0 / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2469, allocations: 11.97 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.247, allocations: 37.64 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.999e-05/0.2471, allocations: 39.91 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2471, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2471, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2471, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 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.0005931/0.2477, allocations: 375.4 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2478, allocations: 12.03 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2478, allocations: 11.84 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2479, allocations: 175 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.248, allocations: 8 kB / 0.901 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.248, allocations: 4 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2483, allocations: 69.59 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2483, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2483, allocations: 4 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2483, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.2489, allocations: 59.95 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.25, allocations: 308.7 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.2508, allocations: 122.5 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2508, allocations: 0 / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.2512, allocations: 91.48 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.2512, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006204/0.2518, allocations: 137.6 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2519, allocations: 67.28 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.252, allocations: 114 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.252, allocations: 29.7 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.252, allocations: 88.14 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.2521, allocations: 23.73 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.2521, allocations: 0 / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2522, allocations: 314.8 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2523, allocations: 35.97 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2525, allocations: 59.78 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.2527, allocations: 40.17 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2527, allocations: 0 / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005243/0.2533, allocations: 129.4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2533, allocations: 8 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2533, allocations: 3.984 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2534, allocations: 4 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.2535, allocations: 8 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2535, allocations: 11.94 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2537, allocations: 20.02 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2537, allocations: 4 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001023/0.2538, allocations: 125.8 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.2539, allocations: 7.844 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.2539, allocations: 12.38 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2539, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2539, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.254, allocations: 3.953 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.2546, allocations: 378.5 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2546, allocations: 0 / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.2547, allocations: 11.98 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2548, allocations: 0 / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2548, allocations: 4 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2548, allocations: 7.953 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2548, allocations: 0 / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.2552, allocations: 203.4 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2553, allocations: 85.02 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2553, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2555, allocations: 11.98 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.2556, allocations: 15.94 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2556, allocations: 4 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.2557, allocations: 95.2 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2557, allocations: 0 / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003277/0.256, allocations: 16 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001268/0.2562, allocations: 99.25 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.2566, allocations: 84 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2566, allocations: 4.062 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2568, allocations: 36.25 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2571, allocations: 23.86 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.2575, allocations: 167.2 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2577, allocations: 0.6965 MB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.256e-05/0.2577, allocations: 7.859 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.2578, allocations: 11.44 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2578, allocations: 0 / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.003613/0.2614, allocations: 0.7341 MB / 0.9055 GB, free: 58.38 MB / 0.6042 GB