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.001665/0.001665, allocations: 102.6 kB / 16.27 MB, free: 5.996 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.001497/0.001497, allocations: 184.7 kB / 17.2 MB, free: 5.609 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001491/0.001491, allocations: 72.31 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2791, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00259/0.2817, allocations: 0.7628 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2834, allocations: 1.137 MB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.2834, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.2835, allocations: 3.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.2836, allocations: 19.86 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.2841, allocations: 131.2 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2843, allocations: 131.7 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2844, allocations: 12 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2845, allocations: 63.81 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.2846, allocations: 43.83 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.2846, allocations: 8 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.2847, allocations: 27.98 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.2847, allocations: 7.984 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.2848, allocations: 51.77 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.285, allocations: 124 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.285, allocations: 0 / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.285, allocations: 0 / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.285, allocations: 0 / 0.7865 GB, free: 1.359 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.0008239/0.2859, allocations: 424.9 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2859, allocations: 8.031 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.286, allocations: 12.84 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2861, allocations: 176.2 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2862, allocations: 8.375 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2862, allocations: 12.31 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2865, allocations: 78.14 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2865, allocations: 192 / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2865, allocations: 3.938 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2865, allocations: 4 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.2869, allocations: 71.92 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.2873, allocations: 332.7 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.2875, allocations: 54.47 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5296/0.8171, allocations: 48.62 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.8172, allocations: 0 / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.8176, allocations: 98.77 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.8177, allocations: 0 / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006481/0.8183, allocations: 171.5 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8184, allocations: 51.41 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.8185, allocations: 122.3 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.8185, allocations: 28.55 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.8185, allocations: 90.48 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.8186, allocations: 22.78 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.8186, allocations: 30.7 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.8187, allocations: 322 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8189, allocations: 62.72 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.8191, allocations: 78.52 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.8195, allocations: 142.9 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8195, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004691/0.82, allocations: 214.1 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.82, allocations: 37.09 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.82, allocations: 0.5938 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.82, allocations: 5.969 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.8202, allocations: 15.94 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.8202, allocations: 0.6562 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.8204, allocations: 46.77 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.8205, allocations: 8.625 kB / 0.7892 GB, free: 48.02 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 7.627e-05/0.8206, allocations: 126.1 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.8206, allocations: 2.625 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.8206, allocations: 14.78 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.8206, allocations: 0.5625 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8206, allocations: 9.031 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8206, allocations: 0 / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.8208, allocations: 187.3 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8208, allocations: 0 / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.8209, allocations: 19.19 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8209, allocations: 1.875 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8209, allocations: 0 / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.8209, allocations: 5.5 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8209, allocations: 0 / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.8213, allocations: 153.7 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.8213, allocations: 88.59 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.8213, allocations: 0 / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.8214, allocations: 11.2 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.8215, allocations: 9.281 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.8215, allocations: 0 / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.8215, allocations: 99.94 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8215, allocations: 0 / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002155/0.8218, allocations: 25.95 kB / 0.7899 GB, free: 47.47 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.0001689/0.8219, allocations: 107.5 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.8224, allocations: 196.4 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8224, allocations: 0 / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.8226, allocations: 46.28 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.8228, allocations: 17.08 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.8232, allocations: 185.1 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.8234, allocations: 0.6926 MB / 0.7911 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.8234, allocations: 12.16 kB / 0.7911 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.8234, allocations: 3.031 kB / 0.7911 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.00303/0.8264, allocations: 1.295 MB / 0.7924 GB, free: 46.43 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)