Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 99.86 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.001419/0.001419, 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.521/1.521, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.796/1.796, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005208/0.0005209, allocations: 14.62 kB / 0.6736 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001029/0.2676, allocations: 482.1 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2691, allocations: 1.107 MB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.2691, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2692, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.2693, allocations: 19.91 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.2697, allocations: 111.3 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2698, allocations: 67.84 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.2699, allocations: 15.98 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.27, allocations: 43.89 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.2701, allocations: 39.89 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2701, allocations: 11.94 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.2702, allocations: 15.98 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.2702, allocations: 15.92 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.2703, allocations: 41.64 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2704, allocations: 76.09 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2704, allocations: 0 / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2704, allocations: 0 / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2704, allocations: 4 kB / 0.7891 GB, free: 9.922 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.0006172/0.2711, allocations: 420.8 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2711, allocations: 8.031 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.2712, allocations: 7.906 kB / 0.7895 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2713, allocations: 171 kB / 0.7897 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2713, allocations: 8 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2714, allocations: 4 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2716, allocations: 89.64 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2717, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2717, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2717, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.272, allocations: 99.86 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.2725, allocations: 340.6 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2727, allocations: 62.53 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2727, allocations: 4.094 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.273, allocations: 115.3 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.273, allocations: 0 / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005927/0.2736, allocations: 193.5 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.2737, allocations: 59.39 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.2738, allocations: 122 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2738, allocations: 29.7 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.2739, allocations: 92.12 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.2739, allocations: 19.75 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2739, allocations: 7.938 kB / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2741, allocations: 322.8 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.2743, allocations: 63.95 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.2745, allocations: 94.52 kB / 0.7913 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.2747, allocations: 97.66 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2747, allocations: 0 / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005242/0.2752, allocations: 235.2 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2753, allocations: 37.7 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2753, allocations: 4 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2753, allocations: 0 / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2755, allocations: 28.09 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2755, allocations: 3.938 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.2757, allocations: 47.95 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2757, allocations: 23.89 kB / 0.7918 GB, free: 6.918 MB / 0.6075 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 9.691e-05/0.2759, allocations: 117.8 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.2759, allocations: 7.906 kB / 0.7919 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.2759, allocations: 4.375 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2759, allocations: 4 kB / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2759, allocations: 0 / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2759, allocations: 0 / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2761, allocations: 181.6 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2761, allocations: 3.984 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2762, allocations: 23.98 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2762, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2762, allocations: 4 kB / 0.7921 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2762, allocations: 3.938 kB / 0.7921 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2762, allocations: 4 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.2766, allocations: 172.8 kB / 0.7923 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.2767, allocations: 89.02 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2767, allocations: 384 / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.2768, allocations: 23.97 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2769, allocations: 4 kB / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2769, allocations: 4 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.2769, allocations: 98.77 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 0 / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002105/0.2772, allocations: 31.98 kB / 0.7925 GB, free: 6.062 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: 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.0001499/0.2773, allocations: 106.1 kB / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.2778, allocations: 211.2 kB / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2778, allocations: 0 / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.278, allocations: 56.09 kB / 0.7929 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.2782, allocations: 27.81 kB / 0.7929 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2786, allocations: 170.8 kB / 0.7931 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2789, allocations: 0.6926 MB / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.2789, allocations: 4.188 kB / 0.7938 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.2789, allocations: 11.44 kB / 0.7938 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2789, allocations: 0 / 0.7938 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.003786/0.2827, allocations: 1.34 MB / 0.7951 GB, free: 3.391 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) Environment - environmentSimulation: