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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 252 MB / 267.6 MB, free: 10.95 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.001039/0.001039, allocations: 185.4 kB / 327.3 MB, free: 2.219 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.665/1.665, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0007491/0.0007489, allocations: 88.83 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 11.41 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2106, 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.Switch): time 0.001568/0.2122, allocations: 1.187 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003906/0.2126, allocations: 204.4 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.2126, allocations: 0 / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.2127, allocations: 11.86 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.2128, allocations: 11.94 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.2129, allocations: 15.97 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.213, allocations: 63.78 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2131, allocations: 15.98 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.2132, allocations: 23.86 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.2133, allocations: 23.91 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2133, allocations: 4 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.2133, allocations: 7.938 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2133, allocations: 11.92 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2134, allocations: 33.7 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.672e-05/0.2135, allocations: 47.89 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2135, allocations: 4 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2135, allocations: 0 / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2135, allocations: 0 / 0.9025 GB, free: 62.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005688/0.2141, allocations: 395.4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2141, allocations: 8.031 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.2142, allocations: 7.906 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2143, allocations: 182.8 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2143, allocations: 8 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2143, allocations: 4 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.2146, allocations: 89.62 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2146, allocations: 0 / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2146, allocations: 8 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2146, allocations: 0 / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2149, allocations: 95.91 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.2153, allocations: 300.8 kB / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.2155, allocations: 66.55 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2157, allocations: 56.94 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.2157, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.216, allocations: 107.4 kB / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.216, allocations: 0 / 0.9037 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005535/0.2166, allocations: 189.4 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2166, allocations: 59.3 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.2167, allocations: 125.8 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2167, allocations: 29.7 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.2167, allocations: 92.14 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2168, allocations: 11.81 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.2168, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.2168, allocations: 318.8 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.217, allocations: 55.95 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2171, allocations: 53.69 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2173, allocations: 51.95 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2173, allocations: 7.938 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003282/0.2176, allocations: 137.5 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2177, allocations: 10.81 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2177, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2177, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2178, allocations: 31.94 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2178, allocations: 8.094 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.218, allocations: 27.92 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.218, allocations: 0 / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.646e-05/0.218, allocations: 121.8 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2181, allocations: 7.906 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.2181, allocations: 8.375 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2181, allocations: 0 / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2181, allocations: 4 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2181, allocations: 3.953 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2182, allocations: 185.6 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2182, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.2183, allocations: 23.98 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2184, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2184, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2184, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2184, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.2187, allocations: 181.2 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.2188, allocations: 88.95 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2188, allocations: 0 / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2189, allocations: 27.97 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.219, allocations: 11.98 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.219, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.219, allocations: 95.27 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.219, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.2192, allocations: 12 kB / 0.9056 GB, free: 58.67 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001248/0.2194, allocations: 103.2 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.2199, allocations: 107.9 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2199, allocations: 0 / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2201, allocations: 59.95 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.2203, allocations: 21.69 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.2206, allocations: 200.2 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2208, allocations: 0.6951 MB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.2208, allocations: 11.44 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2208, allocations: 0 / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.002039/0.2229, allocations: 1.044 MB / 0.9078 GB, free: 56.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)