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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001554/0.001554, allocations: 175.2 kB / 325.6 MB, free: 2.832 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.633/2.633, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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: 92.36 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.000466, allocations: 15.62 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001624/0.2087, allocations: 1.13 MB / 0.9 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005037/0.2093, allocations: 217.5 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.2093, allocations: 3.938 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.2093, allocations: 3.984 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2095, allocations: 15.92 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.2096, allocations: 19.97 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.2097, allocations: 55.86 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2099, allocations: 12.17 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.2099, allocations: 27.92 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.21, allocations: 27.86 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.21, allocations: 4 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.2101, allocations: 4 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.2101, allocations: 7.969 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.2101, allocations: 41.64 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.2102, allocations: 47.89 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2103, allocations: 0 / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2103, allocations: 0 / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2103, allocations: 0 / 0.9005 GB, free: 63.84 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.000703/0.211, allocations: 403.3 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.211, allocations: 8.031 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.2111, allocations: 7.906 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2112, allocations: 182.9 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2113, allocations: 8 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2113, allocations: 4 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2115, allocations: 69.55 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2115, allocations: 0 / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2115, allocations: 0 / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2115, allocations: 4 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2117, allocations: 27.98 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.2122, allocations: 312.7 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2123, allocations: 50.56 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2123, allocations: 0 / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.2126, allocations: 91.25 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.2126, allocations: 0 / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003317/0.2129, allocations: 121.6 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.213, allocations: 59.36 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2131, allocations: 129.7 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2131, allocations: 25.7 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.2132, allocations: 92.12 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2132, allocations: 27.8 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.2132, allocations: 4 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.2133, allocations: 322.8 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.2134, allocations: 15.98 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.2135, allocations: 51.42 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.2136, allocations: 20 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2136, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002037/0.2138, allocations: 101.5 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2138, allocations: 12.09 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2138, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2139, allocations: 480 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.214, allocations: 15.92 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.214, allocations: 3.953 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.2142, allocations: 23.98 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2142, allocations: 4 kB / 0.9026 GB, free: 61.46 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,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * 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.245e-05/0.2143, allocations: 121.8 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.2144, allocations: 11.89 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.2144, allocations: 20.36 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2144, allocations: 3.938 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2144, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2144, allocations: 3.953 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2146, allocations: 189.6 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2146, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.2147, allocations: 4 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2147, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2147, allocations: 4 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2147, allocations: 0 / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2147, allocations: 4 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2149, allocations: 125.8 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.215, allocations: 88.94 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.215, allocations: 8 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2152, allocations: 23.98 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.2153, allocations: 15.97 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2153, allocations: 0 / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.2154, allocations: 99.27 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2154, allocations: 0 / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002776/0.2157, allocations: 20 kB / 0.9033 GB, free: 60.63 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,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * 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.0001273/0.2158, allocations: 103.2 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.216, allocations: 67.84 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.216, allocations: 0 / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.2162, allocations: 28.28 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2165, allocations: 32.05 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.2169, allocations: 205.3 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2171, allocations: 0.6926 MB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.625e-05/0.2172, allocations: 8.547 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.2172, allocations: 11.44 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.2172, allocations: 4 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.004239/0.2215, allocations: 1.028 MB / 0.9054 GB, free: 58.41 MB / 0.6042 GB