Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 187.6 kB / 16.62 MB, free: 6.613 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.921/1.921, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002189/0.002189, allocations: 75.16 kB / 0.6723 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2794, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00196/0.2814, allocations: 0.6707 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2829, allocations: 1.18 MB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.283, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.283, allocations: 7.922 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.2831, allocations: 15.86 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.2838, allocations: 221.6 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.284, allocations: 175.8 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2841, allocations: 15.97 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.2842, allocations: 67.89 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2844, allocations: 63.78 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2844, allocations: 12 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.2845, allocations: 35.98 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.2846, allocations: 19.86 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.2846, allocations: 47.89 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.2849, allocations: 163.5 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2849, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2849, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2849, allocations: 0 / 0.7867 GB, free: 10.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005775/0.2855, allocations: 434.7 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.2855, allocations: 8.031 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.2856, allocations: 8.938 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2857, allocations: 176.3 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2858, allocations: 4.375 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.2858, allocations: 12.38 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2859, allocations: 54.17 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.286, allocations: 192 / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.286, allocations: 3.938 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.286, allocations: 4 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.004e-05/0.286, allocations: 12 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.2866, allocations: 352.8 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.2867, allocations: 38.5 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.2867, allocations: 16.8 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2867, allocations: 0 / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.2869, allocations: 79.45 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.2869, allocations: 0 / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002829/0.2872, allocations: 113.5 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2872, allocations: 55.34 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2874, allocations: 125.7 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.2874, allocations: 33.7 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.2875, allocations: 92.12 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2875, allocations: 7.812 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.2876, allocations: 49.69 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2878, allocations: 322.8 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2879, allocations: 63.95 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2881, allocations: 91.52 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.2883, allocations: 159.6 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2883, allocations: 0 / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004273/0.2887, allocations: 260.9 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.2888, allocations: 67.39 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2888, allocations: 0 / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2889, allocations: 4 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.268e-05/0.2889, allocations: 4 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2889, allocations: 8 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2892, allocations: 59.97 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.2893, allocations: 11.98 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000132/0.2894, allocations: 128.6 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.2894, allocations: 11.89 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2895, allocations: 8.375 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2895, allocations: 4.453 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2895, allocations: 4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2895, allocations: 4 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.2897, allocations: 173.6 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2897, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.2897, allocations: 11.88 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2897, allocations: 0 / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2897, allocations: 3.984 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2897, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2897, allocations: 4 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2899, allocations: 114.4 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.29, allocations: 85.02 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.29, allocations: 3.938 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.29, allocations: 4 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.2901, allocations: 7.984 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2901, allocations: 4 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.2902, allocations: 95.2 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2902, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002271/0.2904, allocations: 28 kB / 0.79 GB, free: 6.289 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001901/0.2906, allocations: 103.2 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.291, allocations: 254.6 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.291, allocations: 0 / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.291, allocations: 23.98 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2913, allocations: 16.92 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.2916, allocations: 162.9 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2919, allocations: 0.6953 MB / 0.7912 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.2919, allocations: 7.781 kB / 0.7912 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.292, allocations: 11.44 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.292, allocations: 0 / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.004515/0.2965, allocations: 1.842 MB / 0.7931 GB, free: 3.125 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)