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.001184/0.001184, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001339/0.001339, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.786/1.786, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001581/0.001582, allocations: 68.73 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3033, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00217/0.3055, allocations: 0.8281 MB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3071, allocations: 1.142 MB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3072, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.3072, allocations: 3.938 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3073, allocations: 7.922 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.3078, allocations: 119 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.308, allocations: 139.7 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.3081, allocations: 8 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.3082, allocations: 59.83 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3083, allocations: 47.81 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3083, allocations: 8 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.3084, allocations: 31.98 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3084, allocations: 7.984 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.3085, allocations: 43.86 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3086, allocations: 119.9 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3087, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3087, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3087, allocations: 0 / 0.7854 GB, free: 11.35 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.000704/0.3094, allocations: 420.9 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3094, allocations: 12.03 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.3095, allocations: 12.84 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3097, allocations: 184.2 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3097, allocations: 4.375 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3098, allocations: 4.375 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.31, allocations: 78.14 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3101, allocations: 192 / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3101, allocations: 19.88 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3101, allocations: 4 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3104, allocations: 63.92 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.3109, allocations: 328.7 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3111, allocations: 62.47 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3112, allocations: 44.91 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3112, allocations: 3.938 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.3115, allocations: 95.36 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3116, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005792/0.3121, allocations: 165.5 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3122, allocations: 51.41 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3123, allocations: 126 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3123, allocations: 29.7 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.3124, allocations: 100.2 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.3124, allocations: 11.75 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.3125, allocations: 37.7 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3126, allocations: 318.8 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3128, allocations: 59.95 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.313, allocations: 82.52 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3134, allocations: 148.1 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3134, allocations: 0 / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004864/0.3139, allocations: 211.1 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.3139, allocations: 36.19 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3139, allocations: 4 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.314, allocations: 3.984 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3141, allocations: 20.05 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3141, allocations: 0 / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3144, allocations: 43.94 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3144, allocations: 4 kB / 0.788 GB, free: 8.348 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,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.252e-05/0.3145, allocations: 121.7 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.3145, allocations: 7.906 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3146, allocations: 20.36 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3146, allocations: 0 / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3146, allocations: 0 / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3146, allocations: 0 / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3147, allocations: 185.6 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3147, allocations: 3.938 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3148, allocations: 20.28 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3148, allocations: 0 / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3149, allocations: 0 / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3149, allocations: 4 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3149, allocations: 8 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3152, allocations: 152.9 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3153, allocations: 88.95 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3153, allocations: 0 / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.3154, allocations: 15.98 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3154, allocations: 11.98 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.3154, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.3155, allocations: 96.52 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3155, allocations: 0 / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000214/0.3157, allocations: 24 kB / 0.7888 GB, free: 7.508 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 (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.0001782/0.3159, allocations: 111.2 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.3164, allocations: 191.2 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3164, allocations: 0 / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3166, allocations: 43.97 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3168, allocations: 15.92 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3172, allocations: 186.1 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3175, allocations: 0.6885 MB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.3175, allocations: 4 kB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3175, allocations: 15.44 kB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3175, allocations: 0 / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.003928/0.3215, allocations: 1.468 MB / 0.7914 GB, free: 4.738 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (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)