Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001231/0.001231, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.764/1.764, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005107/0.0005109, allocations: 13.69 kB / 0.6736 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2778, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008951/0.2787, allocations: 432.7 kB / 0.7875 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2801, allocations: 1.183 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.2802, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2802, allocations: 3.938 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.2803, allocations: 23.95 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.281, allocations: 277 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2812, allocations: 123.8 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.2813, allocations: 16.17 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2814, allocations: 87.8 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2815, allocations: 67.83 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2815, allocations: 12 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.2816, allocations: 27.98 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.2817, allocations: 11.94 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.2817, allocations: 41.7 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2819, allocations: 159.8 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2819, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2819, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2819, allocations: 0 / 0.7895 GB, free: 9.492 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.0004677/0.2824, allocations: 460.1 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2824, allocations: 11.97 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.2825, allocations: 15.91 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2826, allocations: 177.7 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2827, allocations: 8 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2827, allocations: 12 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2828, allocations: 53.67 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2828, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2828, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2829, allocations: 4 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.2829, allocations: 19.98 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.2835, allocations: 432.4 kB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.2835, allocations: 26.58 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2836, allocations: 0 / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.2837, allocations: 111.2 kB / 0.7908 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2838, allocations: 0 / 0.7908 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002803/0.284, allocations: 137.5 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2841, allocations: 55.41 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.2842, allocations: 129.8 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2842, allocations: 37.69 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.2843, allocations: 100 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2844, allocations: 19.88 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.2844, allocations: 4 kB / 0.7912 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2845, allocations: 326.8 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2847, allocations: 95.94 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2849, allocations: 130 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2851, allocations: 175.8 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2851, allocations: 0 / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005166/0.2856, allocations: 366.5 kB / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/0.2857, allocations: 101.1 kB / 0.7924 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2857, allocations: 4 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2857, allocations: 0 / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.594e-05/0.2857, allocations: 11.92 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2858, allocations: 4 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.2863, allocations: 127.8 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2863, allocations: 15.98 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.2864, allocations: 129.8 kB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2865, allocations: 7.906 kB / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2865, allocations: 16.38 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2865, allocations: 3.938 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2865, allocations: 0 / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2865, allocations: 0 / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.2867, allocations: 197.5 kB / 0.7929 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2867, allocations: 384 / 0.7929 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.2867, allocations: 4 kB / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2867, allocations: 0 / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2867, allocations: 7.984 kB / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2867, allocations: 3.938 kB / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2867, allocations: 4 kB / 0.7929 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2869, allocations: 144.9 kB / 0.793 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.287, allocations: 85.02 kB / 0.7931 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.287, allocations: 3.984 kB / 0.7931 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.287, allocations: 0 / 0.7931 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.2871, allocations: 11.98 kB / 0.7931 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2871, allocations: 4 kB / 0.7931 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.2871, allocations: 98.64 kB / 0.7932 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2871, allocations: 4 kB / 0.7932 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000261/0.2874, allocations: 44 kB / 0.7933 GB, free: 5.23 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.2876, allocations: 110.4 kB / 0.7934 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.288, allocations: 366.1 kB / 0.7937 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.288, allocations: 0 / 0.7937 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.2881, allocations: 43.92 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2883, allocations: 24.31 kB / 0.7938 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2886, allocations: 199.5 kB / 0.794 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.2889, allocations: 0.7004 MB / 0.7947 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.2889, allocations: 8.438 kB / 0.7947 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.2889, allocations: 15.42 kB / 0.7947 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2889, allocations: 0 / 0.7947 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.004744/0.2937, allocations: 2.381 MB / 0.797 GB, free: 1.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) Environment - environmentSimulation: