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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 105.4 kB / 15.7 MB, free: 24 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.001881/0.001882, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002116/0.002116, allocations: 76.78 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2729, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001985/0.2749, allocations: 0.6707 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2765, allocations: 1.184 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.2766, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.2766, allocations: 4 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.2767, allocations: 15.88 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2774, allocations: 219 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.2776, allocations: 175.8 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2777, allocations: 16 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.2778, allocations: 67.83 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.278, allocations: 71.77 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.278, allocations: 12 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.2781, allocations: 24 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2782, allocations: 11.98 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.2782, allocations: 59.81 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2784, allocations: 151.9 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2784, allocations: 0 / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2785, allocations: 0 / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2785, allocations: 0 / 0.7863 GB, free: 10.53 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.0004655/0.2789, allocations: 442.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.279, allocations: 11.97 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.279, allocations: 34.75 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.2791, allocations: 8.938 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2792, allocations: 176.2 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2792, allocations: 4.375 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.2792, allocations: 16.34 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2794, allocations: 50.25 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2794, allocations: 3.938 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2794, allocations: 4 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2794, allocations: 0 / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.2794, allocations: 15.98 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.2799, allocations: 352.6 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.2799, allocations: 34.58 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.28, allocations: 16.94 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.28, allocations: 4 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2802, allocations: 87.27 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2802, allocations: 0 / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002265/0.2804, allocations: 101.6 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2805, allocations: 55.41 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2806, allocations: 121.7 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.2806, allocations: 29.7 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.2807, allocations: 92.14 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2807, allocations: 15.81 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.2808, allocations: 45.69 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2809, allocations: 326.8 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.2811, allocations: 63.97 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2812, allocations: 96.56 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2814, allocations: 163.6 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2814, allocations: 0 / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004109/0.2818, allocations: 260.9 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.2819, allocations: 67.39 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2819, allocations: 8.125 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2819, allocations: 0 / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.282, allocations: 7.984 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.282, allocations: 0 / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2823, allocations: 55.78 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2824, allocations: 12 kB / 0.7889 GB, free: 7.488 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.0001/0.2825, allocations: 133.7 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.2825, allocations: 11.84 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2825, allocations: 4.375 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2825, allocations: 4 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2825, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2825, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2827, allocations: 181.6 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2827, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-06/0.2827, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2827, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2827, allocations: 8 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2827, allocations: 0 / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2827, allocations: 0 / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.2828, allocations: 114 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.2829, allocations: 81.02 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2829, allocations: 3.984 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.2829, allocations: 4 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.283, allocations: 4 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.283, allocations: 8 kB / 0.7894 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.283, allocations: 95.2 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2831, allocations: 0 / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.2833, allocations: 28 kB / 0.7896 GB, free: 6.727 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.0004295/0.2837, allocations: 0.663 MB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.284, allocations: 242.7 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2841, allocations: 0 / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.2841, allocations: 27.98 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2844, allocations: 16.19 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2862, allocations: 1.724 MB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2864, allocations: 0.6846 MB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.2865, allocations: 11.77 kB / 0.7929 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.2865, allocations: 19.44 kB / 0.7929 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2865, allocations: 4 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.306, allocations: 2.872 MB / 0.7957 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.951, allocations: 9.047 kB / 0.7957 GB, free: 372 kB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)