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.001229/0.001229, allocations: 102.2 kB / 16.36 MB, free: 6.473 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.001223/0.001223, allocations: 190.2 kB / 17.3 MB, free: 5.824 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.918/1.918, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001657/0.001657, allocations: 71.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.003292/0.2624, allocations: 0.7645 MB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2646, allocations: 1.125 MB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.2646, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.2647, allocations: 3.938 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.2648, allocations: 19.86 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.2654, allocations: 139 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.2656, allocations: 135.7 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2657, allocations: 16 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2658, allocations: 47.84 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.266, allocations: 59.8 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.266, allocations: 8 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.2661, allocations: 27.98 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2661, allocations: 7.984 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.2662, allocations: 55.77 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.2665, allocations: 111.7 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2665, allocations: 3.938 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2665, allocations: 0 / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2665, allocations: 4 kB / 0.7873 GB, free: 0.5938 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.000897/0.2674, allocations: 424.9 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2675, allocations: 12.03 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.2676, allocations: 8.844 kB / 0.7877 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4158/0.6834, allocations: 176.1 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.6835, allocations: 3.062 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.6835, allocations: 7.312 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.6838, allocations: 82.12 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6839, allocations: 1.875 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6839, allocations: 3.375 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.6839, allocations: 3.719 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.6842, allocations: 75.33 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.6846, allocations: 324.5 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.6848, allocations: 56.53 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.685, allocations: 44.66 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.685, allocations: 3.938 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.6853, allocations: 97.22 kB / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.6853, allocations: 2.156 kB / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005465/0.6859, allocations: 163 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.6859, allocations: 56.89 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.686, allocations: 120.9 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.686, allocations: 36.97 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.6861, allocations: 88.58 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.6861, allocations: 24.8 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.6862, allocations: 30.53 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.6862, allocations: 314.6 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.6864, allocations: 65.19 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.6866, allocations: 83.36 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.687, allocations: 142.5 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.687, allocations: 2.625 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004771/0.6875, allocations: 213.1 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6875, allocations: 38.53 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6875, allocations: 2.625 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6875, allocations: 0.875 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.6877, allocations: 20.91 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6877, allocations: 4.688 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6879, allocations: 36.33 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.688, allocations: 6.281 kB / 0.7899 GB, free: 47.62 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 9.756e-05/0.6881, allocations: 122.2 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.6881, allocations: 10.47 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.6881, allocations: 7.312 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6881, allocations: 4.906 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6882, allocations: 0.5625 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6882, allocations: 0 / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6883, allocations: 191.3 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6883, allocations: 0 / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.6884, allocations: 20 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.6884, allocations: 0 / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6884, allocations: 6.156 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6884, allocations: 4.844 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6884, allocations: 2.719 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.6888, allocations: 156.4 kB / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.6888, allocations: 79.73 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.6889, allocations: 3.828 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.6889, allocations: 13.88 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.689, allocations: 12.36 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.689, allocations: 1.188 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.6891, allocations: 98.38 kB / 0.7906 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6891, allocations: 0.8125 kB / 0.7906 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002265/0.6893, allocations: 27.62 kB / 0.7906 GB, free: 47.06 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.0001473/0.6895, allocations: 106 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.6899, allocations: 190.3 kB / 0.7909 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6899, allocations: 0 / 0.7909 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.6901, allocations: 51.3 kB / 0.791 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6904, allocations: 22.7 kB / 0.791 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.6907, allocations: 151.3 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.6909, allocations: 0.6886 MB / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.6909, allocations: 6.781 kB / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.691, allocations: 16.66 kB / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.691, allocations: 0 / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.00396/0.695, allocations: 1.57 MB / 0.7934 GB, free: 46.03 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)