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.001952/0.001952, allocations: 104.8 kB / 16.29 MB, free: 6.125 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.002076/0.002076, allocations: 182 kB / 17.22 MB, free: 5.734 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.773/1.773, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.985/1.985, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001405/0.001405, allocations: 67.03 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002133/0.2746, allocations: 0.7751 MB / 0.7848 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2761, allocations: 1.133 MB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.2762, allocations: 4 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.2762, allocations: 3.938 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.2763, allocations: 7.875 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.2768, allocations: 135.1 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.277, allocations: 139.7 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2771, allocations: 12 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.2772, allocations: 51.89 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2774, allocations: 55.8 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.2774, allocations: 12 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.2775, allocations: 35.98 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2775, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.2776, allocations: 47.78 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.2778, allocations: 115.9 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2778, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2778, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2778, allocations: 3.938 kB / 0.7865 GB, free: 1.289 MB / 0.6544 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.0006999/0.2785, allocations: 425 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2786, allocations: 12.03 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.2786, allocations: 16.78 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2788, allocations: 176.2 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2788, allocations: 4.359 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2789, allocations: 12.38 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2791, allocations: 78.14 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2791, allocations: 192 / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2791, allocations: 3.938 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2791, allocations: 4 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.2794, allocations: 67.92 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.2799, allocations: 328.7 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4373/0.7172, allocations: 53.67 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.7175, allocations: 41.89 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.7175, allocations: 0 / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.7179, allocations: 106.9 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.7179, allocations: 0 / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005727/0.7185, allocations: 161.8 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.7185, allocations: 54.81 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.7186, allocations: 123.5 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.7186, allocations: 28.39 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.7187, allocations: 93.75 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.7187, allocations: 19.83 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.7188, allocations: 35.3 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.7188, allocations: 321.6 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.719, allocations: 59.16 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.7192, allocations: 82.53 kB / 0.7888 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.7195, allocations: 149.2 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.7196, allocations: 1.625 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004556/0.72, allocations: 209.9 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.7201, allocations: 35.11 kB / 0.7891 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7201, allocations: 0.5938 kB / 0.7891 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7201, allocations: 2.938 kB / 0.7891 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7202, allocations: 21.38 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7202, allocations: 10.39 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.7204, allocations: 40.91 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.7205, allocations: 6.531 kB / 0.7892 GB, free: 47.84 MB / 0.6544 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 6.938e-05/0.7206, allocations: 125.9 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.7206, allocations: 3.188 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.7206, allocations: 10.69 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7206, allocations: 0 / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7206, allocations: 0.5 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7206, allocations: 2.875 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.7207, allocations: 188.6 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7208, allocations: 0.6562 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.7209, allocations: 19.08 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7209, allocations: 2.625 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7209, allocations: 2.062 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7209, allocations: 0 / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7209, allocations: 0.6875 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.7212, allocations: 149.4 kB / 0.7897 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.7212, allocations: 92.22 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.7213, allocations: 6.5 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.7213, allocations: 12.42 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.7214, allocations: 7.016 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.7214, allocations: 9.391 kB / 0.7898 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.7214, allocations: 94.27 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7214, allocations: 0 / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002122/0.7217, allocations: 26.7 kB / 0.7899 GB, free: 47.29 MB / 0.6544 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.0001426/0.7218, allocations: 101.5 kB / 0.79 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.7222, allocations: 193.4 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7223, allocations: 1.188 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.7224, allocations: 49.75 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.7226, allocations: 15.61 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.723, allocations: 164.8 kB / 0.7904 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.7231, allocations: 0.6883 MB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.7232, allocations: 2.969 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.7232, allocations: 10.88 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7232, allocations: 2.438 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.004386/0.7276, allocations: 1.577 MB / 0.7927 GB, free: 46.26 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)