Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.982/1.982, allocations: 288.4 MB / 303.4 MB, free: 8.082 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.001164/0.001165, allocations: 180.5 kB / 372 MB, free: 10.28 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.845/1.845, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009564/0.0009565, allocations: 98.84 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 12.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.000924/0.2565, allocations: 482.5 kB / 0.9801 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2577, allocations: 1.111 MB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.2578, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.2578, allocations: 3.938 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.2579, allocations: 11.92 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.2583, allocations: 115.7 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2584, allocations: 103.7 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.2585, allocations: 19.98 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.2586, allocations: 39.91 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.2587, allocations: 47.81 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2587, allocations: 4 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.2588, allocations: 23.98 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2588, allocations: 11.98 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2589, allocations: 37.64 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.259, allocations: 80.08 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.259, allocations: 4 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.259, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.259, allocations: 0 / 0.9816 GB, free: 25.57 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.0006497/0.2597, allocations: 420.8 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2597, allocations: 12.02 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.2598, allocations: 7.906 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2599, allocations: 174.9 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.26, allocations: 12 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.26, allocations: 8 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.2603, allocations: 97.52 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2603, allocations: 0 / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2603, allocations: 3.984 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2603, allocations: 4 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2606, allocations: 91.92 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.261, allocations: 336.7 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.2612, allocations: 62.47 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2614, allocations: 56.92 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2614, allocations: 0 / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.2618, allocations: 107.3 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2618, allocations: 0 / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006671/0.2624, allocations: 201.4 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2625, allocations: 55.41 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.2626, allocations: 124.1 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2626, allocations: 29.7 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.2627, allocations: 92.14 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.2627, allocations: 19.73 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.2627, allocations: 0 / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.2628, allocations: 318.8 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2631, allocations: 71.94 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.2633, allocations: 94.52 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.2635, allocations: 97.66 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2635, allocations: 4 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004952/0.264, allocations: 227.2 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.264, allocations: 37.69 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2641, allocations: 0 / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2641, allocations: 4 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2642, allocations: 23.92 kB / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2642, allocations: 0 / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2645, allocations: 63.89 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.2645, allocations: 8 kB / 0.9844 GB, free: 22.51 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 7.796e-05/0.2646, allocations: 113.9 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2646, allocations: 11.91 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2647, allocations: 16.3 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2647, allocations: 4 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2647, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2647, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2648, allocations: 185.7 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2648, allocations: 96 / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2649, allocations: 27.91 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2649, allocations: 4 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.265, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.265, allocations: 8.234 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.265, allocations: 4 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2653, allocations: 176.9 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.2654, allocations: 85.02 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2654, allocations: 0 / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.2655, allocations: 19.98 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.2655, allocations: 7.984 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.2655, allocations: 4 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.2656, allocations: 95.27 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002037/0.2658, allocations: 20 kB / 0.9851 GB, free: 21.65 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.0001336/0.2659, allocations: 103.2 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2664, allocations: 223.2 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2664, allocations: 0 / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.2666, allocations: 55.91 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2668, allocations: 20.69 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2672, allocations: 178.6 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2673, allocations: 0.6887 MB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.2673, allocations: 11.94 kB / 0.9864 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.2674, allocations: 11.44 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2674, allocations: 0 / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.003295/0.2707, allocations: 1.341 MB / 0.9877 GB, free: 18.97 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)