Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.695/1.695, allocations: 287.5 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 180.9 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009932/0.0009935, allocations: 96.2 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005017, allocations: 13.28 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2414, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0008086/0.2422, allocations: 490.2 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2434, allocations: 1.106 MB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.2435, allocations: 4 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.2435, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.2436, allocations: 15.84 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.2441, allocations: 122.8 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2442, allocations: 103.8 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.2443, allocations: 15.97 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.2444, allocations: 43.91 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.2445, allocations: 35.89 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2445, allocations: 4 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.2446, allocations: 23.98 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.2446, allocations: 11.92 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.2447, allocations: 37.64 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2448, allocations: 76.09 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2448, allocations: 3.938 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2448, allocations: 0 / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2448, allocations: 0 / 0.9807 GB, free: 26.08 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.0005157/0.2453, allocations: 425 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2454, allocations: 12.03 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.2454, allocations: 12.83 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.461e-05/0.2455, allocations: 172.3 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2455, allocations: 4.375 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.2456, allocations: 8.375 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.2458, allocations: 94.14 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2458, allocations: 192 / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2458, allocations: 7.938 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2458, allocations: 0 / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2461, allocations: 99.86 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.2465, allocations: 332.6 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2467, allocations: 58.55 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2468, allocations: 56.91 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2468, allocations: 4 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.2471, allocations: 107.3 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2471, allocations: 0 / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005338/0.2477, allocations: 193.5 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2477, allocations: 51.41 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.2478, allocations: 131.7 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2478, allocations: 29.7 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.2478, allocations: 92.05 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2479, allocations: 19.81 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2479, allocations: 4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.2479, allocations: 322.8 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.2481, allocations: 79.88 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.2483, allocations: 86.53 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2486, allocations: 164.2 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2486, allocations: 0 / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000455/0.2491, allocations: 239.2 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2491, allocations: 37.7 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2491, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2492, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2493, allocations: 24.14 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2493, allocations: 7.922 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2496, allocations: 59.86 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2496, allocations: 8 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.554e-05/0.2497, allocations: 125.8 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2497, allocations: 7.906 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.2497, allocations: 4.375 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2497, allocations: 4 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2497, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2497, allocations: 3.938 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.2498, allocations: 181.6 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2498, allocations: 4 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.2499, allocations: 27.91 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2499, allocations: 0 / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.25, allocations: 4 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.25, allocations: 4 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.25, allocations: 320 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2503, allocations: 172.9 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.2504, allocations: 89.09 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2504, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.2505, allocations: 23.97 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.2505, allocations: 4 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2505, allocations: 0 / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.2506, allocations: 98.27 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2506, allocations: 0 / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001921/0.2508, allocations: 31.98 kB / 0.9843 GB, free: 22.08 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * 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.0001299/0.2509, allocations: 107.1 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.2513, allocations: 211.3 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2513, allocations: 0 / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2515, allocations: 60.03 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.2517, allocations: 19.92 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.252, allocations: 171.4 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.2521, allocations: 0.6926 MB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.2522, allocations: 4 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.2522, allocations: 19.38 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2522, allocations: 0 / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.003246/0.2555, allocations: 1.344 MB / 0.9868 GB, free: 19.4 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)