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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001594/0.001594, allocations: 177.9 kB / 325.6 MB, free: 2.805 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.453/2.453, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001159/0.001159, allocations: 105.8 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 16.28 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2436, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001563/0.2453, allocations: 1.091 MB / 0.9 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004762/0.2458, allocations: 193.6 kB / 0.9001 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.2458, allocations: 0 / 0.9001 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2459, allocations: 3.938 kB / 0.9001 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.246, allocations: 7.984 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2461, allocations: 19.92 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.2462, allocations: 31.95 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2463, allocations: 15.97 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.2464, allocations: 15.94 kB / 0.9002 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.2465, allocations: 23.91 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2465, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.2465, allocations: 4 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2466, allocations: 7.938 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.2466, allocations: 29.7 kB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.2467, allocations: 39.91 kB / 0.9003 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2467, allocations: 0 / 0.9003 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2467, allocations: 0 / 0.9003 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2467, allocations: 0 / 0.9003 GB, free: 63.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006047/0.2473, allocations: 375.4 kB / 0.9007 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2474, allocations: 8.031 kB / 0.9007 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.2474, allocations: 7.984 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2476, allocations: 178.8 kB / 0.9009 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2476, allocations: 4 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2476, allocations: 8 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2478, allocations: 53.67 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2478, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2478, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2478, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.2479, allocations: 16 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2484, allocations: 288.8 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2485, allocations: 46.56 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2485, allocations: 7.984 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2487, allocations: 63.52 kB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.2487, allocations: 0 / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002617/0.249, allocations: 89.52 kB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2491, allocations: 67.3 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.2492, allocations: 113.8 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2492, allocations: 29.7 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.2492, allocations: 84.14 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2493, allocations: 19.86 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2493, allocations: 4 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.2493, allocations: 310.8 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.2494, allocations: 15.98 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.2495, allocations: 42.52 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.2495, allocations: 12 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2495, allocations: 0 / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001523/0.2497, allocations: 82.14 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2497, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2497, allocations: 0 / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2498, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.2498, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2499, allocations: 8.062 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.25, allocations: 31.88 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.25, allocations: 0 / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.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): 9 * 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 8.495e-05/0.2501, allocations: 123.5 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.2502, allocations: 3.906 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.2502, allocations: 20.3 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2502, allocations: 0 / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2502, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2503, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2504, allocations: 181.6 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2504, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.2505, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2505, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2505, allocations: 4 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2505, allocations: 80 / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2505, allocations: 3.984 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.2507, allocations: 101.1 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.2507, allocations: 88.94 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2508, allocations: 4 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.2509, allocations: 11.98 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.251, allocations: 11.92 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.251, allocations: 8 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.2511, allocations: 87.27 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2511, allocations: 8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002647/0.2514, allocations: 8 kB / 0.9029 GB, free: 61.01 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * 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.0001095/0.2515, allocations: 95.25 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.2517, allocations: 47.92 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2517, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.2518, allocations: 23.98 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.252, allocations: 16.08 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.2524, allocations: 170.8 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2526, allocations: 0.6895 MB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.2526, allocations: 11.8 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2527, allocations: 15.44 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2527, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.003637/0.2563, allocations: 0.7507 MB / 0.9046 GB, free: 59.14 MB / 0.6042 GB