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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 251.1 MB / 266.1 MB, free: 11.53 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.001613/0.001612, allocations: 183.1 kB / 325.6 MB, free: 2.793 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.602/2.602, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001176/0.001176, allocations: 99.41 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 11.72 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001658/0.2197, allocations: 1.127 MB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.2202, allocations: 213.3 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.2203, allocations: 4 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.2203, allocations: 7.922 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2204, allocations: 19.91 kB / 0.9002 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.2206, allocations: 15.98 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2207, allocations: 51.92 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2209, allocations: 16.11 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.2209, allocations: 27.86 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.221, allocations: 35.83 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.221, allocations: 4 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.2211, allocations: 4 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2211, allocations: 11.94 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.2211, allocations: 37.69 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.2212, allocations: 47.91 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2213, allocations: 3.938 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2213, allocations: 0 / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2213, allocations: 0 / 0.9005 GB, free: 64.25 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000718/0.222, allocations: 399 kB / 0.9009 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2221, allocations: 12.03 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.2221, allocations: 7.906 kB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2223, allocations: 186.8 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2223, allocations: 4 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2223, allocations: 4 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2225, allocations: 61.61 kB / 0.9011 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2225, allocations: 7.938 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2225, allocations: 4 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2225, allocations: 0 / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2227, allocations: 27.98 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.2232, allocations: 304.8 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2233, allocations: 55.5 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2234, allocations: 0 / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2236, allocations: 91.27 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.2236, allocations: 0 / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003324/0.2239, allocations: 109.8 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.224, allocations: 59.36 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2241, allocations: 133.7 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2241, allocations: 33.7 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2242, allocations: 92.28 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.2242, allocations: 23.66 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.2243, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.2243, allocations: 322.8 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.2244, allocations: 23.98 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.2245, allocations: 47.42 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.788e-05/0.2246, allocations: 20 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2246, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002155/0.2248, allocations: 101.5 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2248, allocations: 8 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2248, allocations: 0 / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2249, allocations: 0 / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.225, allocations: 15.92 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.225, allocations: 8.047 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.2252, allocations: 27.98 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2252, allocations: 4 kB / 0.9026 GB, free: 61.87 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.62e-05/0.2253, allocations: 117.8 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2254, allocations: 7.906 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.2254, allocations: 20.38 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2254, allocations: 0 / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2255, allocations: 3.938 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2255, allocations: 7.938 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2257, allocations: 189.6 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2257, allocations: 0 / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.2257, allocations: 7.938 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2257, allocations: 0 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2257, allocations: 192 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2258, allocations: 3.984 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2258, allocations: 3.938 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.226, allocations: 128.9 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.2261, allocations: 88.94 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2261, allocations: 0 / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2263, allocations: 19.98 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.2264, allocations: 19.97 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2264, allocations: 4 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.2265, allocations: 99.7 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2265, allocations: 0 / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002904/0.2268, allocations: 16 kB / 0.9033 GB, free: 61.05 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001342/0.227, allocations: 103.2 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2272, allocations: 67.86 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2272, allocations: 192 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.2273, allocations: 35.98 kB / 0.9035 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.0003378/0.2277, allocations: 24.27 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.2281, allocations: 202.9 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2283, allocations: 0.6931 MB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.474e-05/0.2284, allocations: 8.562 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.2284, allocations: 11.44 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/0.2284, allocations: 0 / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.004448/0.2329, allocations: 1.038 MB / 0.9054 GB, free: 58.82 MB / 0.6042 GB