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.57/1.57, allocations: 252 MB / 268 MB, free: 10.86 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.001023/0.001024, allocations: 167.9 kB / 327.6 MB, free: 2.113 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.846/1.846, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.001017/0.001017, allocations: 91.8 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003989, allocations: 13.33 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001535/0.2344, allocations: 1.203 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004111/0.2348, allocations: 220.2 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.2349, allocations: 0 / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.2349, allocations: 3.938 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/0.235, allocations: 11.92 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2352, allocations: 15.92 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.656e-05/0.2353, allocations: 63.84 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2354, allocations: 19.98 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.683e-05/0.2355, allocations: 23.91 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.2355, allocations: 31.8 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2356, allocations: 4 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.2356, allocations: 4 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.2356, allocations: 7.922 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.2357, allocations: 53.56 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.01e-05/0.2358, allocations: 43.89 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2358, allocations: 0 / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2358, allocations: 0 / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2358, allocations: 0 / 0.9031 GB, free: 61.76 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.0005363/0.2363, allocations: 399.5 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2364, allocations: 12.03 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.2364, allocations: 12.84 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.2365, allocations: 176.3 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2365, allocations: 384 / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2366, allocations: 4.375 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2368, allocations: 90.2 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2368, allocations: 12.06 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2368, allocations: 3.938 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2369, allocations: 0 / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2372, allocations: 95.92 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.2375, allocations: 304.6 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.2377, allocations: 70.53 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2379, allocations: 56.89 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.2379, allocations: 4 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.2382, allocations: 99.36 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2382, allocations: 0 / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005773/0.2388, allocations: 189.6 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2388, allocations: 55.34 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.2389, allocations: 125.8 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2389, allocations: 25.7 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.239, allocations: 96.05 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.239, allocations: 15.8 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.239, allocations: 8 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.239, allocations: 314.8 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2392, allocations: 51.95 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2394, allocations: 65.67 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2397, allocations: 101.7 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2397, allocations: 0 / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003439/0.24, allocations: 149.5 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.24, allocations: 10.69 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2401, allocations: 0 / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2401, allocations: 4 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2402, allocations: 19.98 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2402, allocations: 0 / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2403, allocations: 27.97 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2404, allocations: 4 kB / 0.9056 GB, free: 58.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/0.2404, allocations: 121.7 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2405, allocations: 3.906 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2405, allocations: 16.36 kB / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2405, allocations: 0 / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2405, allocations: 0 / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2405, allocations: 0 / 0.9057 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.2406, allocations: 189.5 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2406, allocations: 11.94 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.2407, allocations: 23.91 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2408, allocations: 4 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2408, allocations: 320 / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2408, allocations: 0 / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2408, allocations: 4 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.2411, allocations: 180.8 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.2412, allocations: 81.11 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2412, allocations: 0 / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2413, allocations: 23.97 kB / 0.9062 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.2414, allocations: 11.98 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2414, allocations: 0 / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.2414, allocations: 95.27 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2414, allocations: 4 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001799/0.2416, allocations: 8 kB / 0.9064 GB, free: 58.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001077/0.2417, allocations: 103.2 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.2421, allocations: 107.9 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2421, allocations: 0 / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2423, allocations: 64.02 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2425, allocations: 18.16 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.2429, allocations: 212.1 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.243, allocations: 0.6887 MB / 0.9075 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.2431, allocations: 11.44 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2431, allocations: 3.938 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.002226/0.2453, allocations: 1.045 MB / 0.9085 GB, free: 55.82 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)