Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 187.4 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.0008158, allocations: 84.67 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 8.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2176, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001387/0.2191, allocations: 1.13 MB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000402/0.2195, allocations: 221.6 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.2195, allocations: 0 / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2196, allocations: 3.938 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.2197, allocations: 19.86 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.2198, allocations: 23.91 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.2199, allocations: 79.72 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.22, allocations: 8.172 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.2201, allocations: 23.92 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.2201, allocations: 31.84 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2202, allocations: 4 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.2202, allocations: 4 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2202, allocations: 15.91 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2202, allocations: 41.64 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.779e-05/0.2203, allocations: 47.89 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2203, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2203, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2203, allocations: 0 / 0.9025 GB, free: 62.24 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.0005453/0.2209, allocations: 407.3 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2209, allocations: 12.03 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.221, allocations: 7.906 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2211, allocations: 182.8 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2211, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2211, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.2213, allocations: 57.67 kB / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2213, allocations: 8 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2213, allocations: 3.938 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2213, allocations: 3.984 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.2214, allocations: 27.98 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.2218, allocations: 308.8 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.2218, allocations: 54.58 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.2219, allocations: 24.86 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2219, allocations: 0 / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.2221, allocations: 87.28 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2221, allocations: 4 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002234/0.2223, allocations: 109.8 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2224, allocations: 67.34 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.2224, allocations: 125.8 kB / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.2225, allocations: 33.73 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.2225, allocations: 96.06 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2225, allocations: 27.8 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.2225, allocations: 4 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.2226, allocations: 318.8 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.2226, allocations: 16 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.2227, allocations: 51.42 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.2227, allocations: 23.98 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2228, allocations: 0 / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001215/0.2229, allocations: 101.5 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2229, allocations: 8 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2229, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2229, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.223, allocations: 16.03 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.223, allocations: 3.984 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2231, allocations: 27.94 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2231, allocations: 4 kB / 0.9046 GB, free: 59.82 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 6.633e-05/0.2232, allocations: 117.8 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2232, allocations: 7.906 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.2233, allocations: 20.36 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2233, allocations: 0 / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2233, allocations: 0 / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2233, allocations: 4 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.2234, allocations: 185.6 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2234, allocations: 4 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.2235, allocations: 3.938 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2235, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2235, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2235, allocations: 4 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2235, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2236, allocations: 132.9 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.2237, allocations: 88.95 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2237, allocations: 7.922 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2238, allocations: 19.98 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.2239, allocations: 19.97 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.2239, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2239, allocations: 95.27 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2239, allocations: 0 / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001948/0.2241, allocations: 16 kB / 0.9053 GB, free: 59.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: 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.0001127/0.2242, allocations: 103.2 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2244, allocations: 63.91 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2244, allocations: 4.188 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.2245, allocations: 35.94 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2247, allocations: 27.92 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.2251, allocations: 228.6 kB / 0.9057 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.2252, allocations: 0.6926 MB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.2253, allocations: 11.44 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2253, allocations: 0 / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.002468/0.2277, allocations: 1.199 MB / 0.9076 GB, free: 56.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)