Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.64/2.64, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 190.6 kB / 371.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002/0.001999, allocations: 99.45 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004676, allocations: 13.78 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0007399/0.2183, allocations: 434.3 kB / 0.9792 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2197, allocations: 1.189 MB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.2198, allocations: 4 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2198, allocations: 3.938 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.2199, allocations: 15.97 kB / 0.9804 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.2208, allocations: 275.2 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.221, allocations: 127.8 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.2211, allocations: 12.19 kB / 0.9808 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2212, allocations: 83.86 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2213, allocations: 75.77 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.2214, allocations: 12 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.2215, allocations: 31.92 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2215, allocations: 7.984 kB / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.2216, allocations: 49.64 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2218, allocations: 151.9 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.92e-06/0.2218, allocations: 0 / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.006e-06/0.2218, allocations: 0 / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.825e-06/0.2218, allocations: 0 / 0.9812 GB, free: 25.75 MB / 0.6198 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.0003941/0.2222, allocations: 456.2 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2223, allocations: 15.97 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.2223, allocations: 15.91 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.2224, allocations: 171 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2225, allocations: 8 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2225, allocations: 19.98 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2227, allocations: 53.66 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2227, allocations: 0 / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2227, allocations: 4 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.12e-06/0.2227, allocations: 4 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.2228, allocations: 19.92 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.2233, allocations: 420.5 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.2234, allocations: 30.56 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.2235, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2237, allocations: 111.4 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.007e-06/0.2237, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003402/0.224, allocations: 137.5 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2241, allocations: 51.41 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.2242, allocations: 139.7 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.2243, allocations: 34.08 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.2243, allocations: 100 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2244, allocations: 15.81 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.2244, allocations: 8 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.2245, allocations: 330.8 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.2247, allocations: 83.95 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.225, allocations: 137.9 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.2252, allocations: 167.6 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-06/0.2253, allocations: 4 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007071/0.226, allocations: 374.5 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/0.2261, allocations: 102.3 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.072e-06/0.2261, allocations: 3.938 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2261, allocations: 4 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.666e-05/0.2261, allocations: 8.172 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2262, allocations: 7.953 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.2268, allocations: 119.7 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.2268, allocations: 23.98 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001229/0.227, allocations: 132 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.227, allocations: 11.84 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.227, allocations: 12.36 kB / 0.9843 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-06/0.2271, allocations: 0 / 0.9843 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-06/0.2271, allocations: 8 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2271, allocations: 3.953 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2272, allocations: 185.6 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2272, allocations: 0 / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.2273, allocations: 7.984 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.14e-06/0.2273, allocations: 0 / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2273, allocations: 4 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2273, allocations: 4 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-06/0.2273, allocations: 0 / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.2275, allocations: 140.9 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.2276, allocations: 81.02 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2276, allocations: 8 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.2277, allocations: 0 / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2277, allocations: 7.984 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2277, allocations: 8 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.2278, allocations: 101.9 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.2278, allocations: 0 / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003435/0.2282, allocations: 44.08 kB / 0.9849 GB, free: 21.5 MB / 0.6198 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,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.0001439/0.2283, allocations: 115.1 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.2288, allocations: 362.1 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.11e-06/0.2289, allocations: 384 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.2289, allocations: 43.91 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2292, allocations: 23.92 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.2296, allocations: 215.5 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2297, allocations: 0.6926 MB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.2298, allocations: 8.422 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.2298, allocations: 19.38 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.417e-06/0.2298, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.006054/0.2359, allocations: 2.376 MB / 0.9887 GB, free: 17.59 MB / 0.6198 GB