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.001073/0.001073, allocations: 108 kB / 15.6 MB, free: 132 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.001157/0.001157, allocations: 195.9 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 205.1 MB / 222.4 MB, free: 4.441 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.623/1.623, allocations: 292.3 MB / 0.5489 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.001602/0.001603, allocations: 72.3 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2109, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001782/0.2127, allocations: 0.67 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2141, allocations: 1.188 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.2141, allocations: 4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.2142, allocations: 3.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.2142, allocations: 7.922 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.2148, allocations: 216.4 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.215, allocations: 183.8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.2151, allocations: 12 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.2152, allocations: 71.83 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.2153, allocations: 47.86 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.2153, allocations: 16 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.2154, allocations: 27.98 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.2154, allocations: 11.94 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.2155, allocations: 55.88 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.2157, allocations: 147.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2157, allocations: 3.938 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2157, allocations: 8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2157, allocations: 0 / 0.7861 GB, free: 10.7 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.0004171/0.2161, allocations: 438.7 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2162, allocations: 12.03 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.2162, allocations: 30.75 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.2163, allocations: 12.92 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.2164, allocations: 168.3 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2164, allocations: 12.31 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.2164, allocations: 12.38 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.2165, allocations: 50.23 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2165, allocations: 3.938 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.2165, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2165, allocations: 0 / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.2166, allocations: 12 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.217, allocations: 356.7 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.2171, allocations: 38.5 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.2171, allocations: 16.86 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.2171, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2173, allocations: 91.34 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.2173, allocations: 3.984 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002044/0.2175, allocations: 105.6 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2175, allocations: 55.41 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.2176, allocations: 121.8 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2177, allocations: 33.64 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2177, allocations: 96.12 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.2177, allocations: 7.812 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.2178, allocations: 53.69 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.218, allocations: 319.1 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2181, allocations: 59.97 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2182, allocations: 100.2 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2184, allocations: 159.5 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2184, allocations: 0 / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004232/0.2189, allocations: 256.9 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.2189, allocations: 71.39 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.2189, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.2189, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.447e-05/0.219, allocations: 4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.219, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.2193, allocations: 67.89 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2194, allocations: 12 kB / 0.7887 GB, free: 7.656 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 8.858e-05/0.2194, allocations: 129.7 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.2195, allocations: 7.906 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.2195, allocations: 8.375 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2195, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2195, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2195, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2196, allocations: 181.6 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2196, allocations: 4 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-06/0.2197, allocations: 8 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2197, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2197, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2197, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2197, allocations: 96 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2198, allocations: 118 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2199, allocations: 85.02 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.2199, allocations: 4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.2199, allocations: 3.984 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.2199, allocations: 4 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.22, allocations: 8.062 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.22, allocations: 91.2 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.22, allocations: 4 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002186/0.2202, allocations: 28 kB / 0.7894 GB, free: 6.891 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.0004009/0.2206, allocations: 0.6592 MB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.221, allocations: 250.6 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.221, allocations: 0 / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.221, allocations: 24 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2212, allocations: 13.17 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.223, allocations: 1.714 MB / 0.792 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2232, allocations: 0.689 MB / 0.7927 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.2232, allocations: 4 kB / 0.7927 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.2233, allocations: 23.42 kB / 0.7927 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2233, allocations: 0 / 0.7927 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5801/0.8034, allocations: 2.862 MB / 0.7955 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.91, allocations: 9.172 kB / 0.7955 GB, free: 0.543 MB / 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)