Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005722/0.0005726, allocations: 18.16 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2724, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0008446/0.2733, allocations: 436.7 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.275, allocations: 1.19 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.2751, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.2751, allocations: 7.938 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.2752, allocations: 11.97 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.2761, allocations: 288.3 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2764, allocations: 123.8 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2765, allocations: 8.188 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2767, allocations: 87.8 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.2768, allocations: 67.83 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2768, allocations: 16 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.2769, allocations: 27.98 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.277, allocations: 11.92 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.277, allocations: 45.7 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2772, allocations: 151.9 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2773, allocations: 0 / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2773, allocations: 0 / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2773, allocations: 0 / 0.7895 GB, free: 9.5 MB / 0.6075 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.0005529/0.2778, allocations: 464.1 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2779, allocations: 8.031 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.278, allocations: 19.91 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2781, allocations: 171 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.2782, allocations: 11.98 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.2782, allocations: 16 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2784, allocations: 53.67 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2784, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2784, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2784, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.2785, allocations: 23.98 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.2792, allocations: 420.4 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.2793, allocations: 34.56 kB / 0.7907 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.2793, allocations: 0 / 0.7907 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.2795, allocations: 107.4 kB / 0.7908 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.2795, allocations: 4 kB / 0.7908 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003666/0.2799, allocations: 141.5 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.28, allocations: 55.41 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.2801, allocations: 133.7 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.2802, allocations: 29.7 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.2803, allocations: 108 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2803, allocations: 15.81 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.2804, allocations: 4 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2806, allocations: 330.8 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2808, allocations: 83.95 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.281, allocations: 134 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2812, allocations: 177 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2812, allocations: 0 / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005795/0.2818, allocations: 377.3 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.2819, allocations: 101.1 kB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2819, allocations: 0 / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2819, allocations: 4 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.791e-05/0.282, allocations: 7.938 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.282, allocations: 192 / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.2826, allocations: 126.5 kB / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.2826, allocations: 23.92 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001403/0.2828, allocations: 125.8 kB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.2828, allocations: 11.89 kB / 0.7927 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.2828, allocations: 20.31 kB / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2828, allocations: 0 / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2828, allocations: 0 / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2829, allocations: 0 / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.283, allocations: 193.5 kB / 0.7929 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.283, allocations: 4 kB / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.283, allocations: 0 / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.283, allocations: 0 / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2831, allocations: 4.375 kB / 0.7929 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2831, allocations: 0 / 0.7929 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2831, allocations: 4 kB / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.2833, allocations: 148.8 kB / 0.7931 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2833, allocations: 85.02 kB / 0.7931 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2833, allocations: 0 / 0.7931 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.322e-05/0.2834, allocations: 4 kB / 0.7931 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2834, allocations: 11.98 kB / 0.7931 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2834, allocations: 4 kB / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.2835, allocations: 95.25 kB / 0.7932 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2835, allocations: 4 kB / 0.7932 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002541/0.2837, allocations: 44 kB / 0.7933 GB, free: 5.234 MB / 0.6075 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,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.0001663/0.2839, allocations: 107.2 kB / 0.7934 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.2844, allocations: 358.1 kB / 0.7937 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2844, allocations: 4 kB / 0.7937 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.2844, allocations: 43.91 kB / 0.7938 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2847, allocations: 26.72 kB / 0.7938 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.285, allocations: 203.5 kB / 0.794 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2853, allocations: 0.7005 MB / 0.7947 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.2853, allocations: 8.422 kB / 0.7947 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.2854, allocations: 11.44 kB / 0.7947 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2854, allocations: 4 kB / 0.7947 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.005424/0.2908, allocations: 2.392 MB / 0.797 GB, free: 1.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1) Environment - environmentSimulation: