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.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 195.6 kB / 16.14 MB, free: 6.66 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.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.746 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.643/1.643, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001354/0.001354, allocations: 68.91 kB / 0.6709 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2066, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001748/0.2083, allocations: 0.7349 MB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2097, allocations: 1.208 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2097, allocations: 0 / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.2098, allocations: 3.938 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.2099, allocations: 11.92 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.2104, allocations: 198 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.2106, allocations: 151.7 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.2106, allocations: 11.98 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.2107, allocations: 55.89 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.2108, allocations: 51.86 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2109, allocations: 8 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.2109, allocations: 27.98 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.211, allocations: 7.938 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.211, allocations: 55.81 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2112, allocations: 147.8 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2112, allocations: 0 / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.11e-07/0.2113, allocations: 0 / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2113, allocations: 0 / 0.7854 GB, free: 11.22 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.0004679/0.2117, allocations: 434.7 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2118, allocations: 15.97 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.2118, allocations: 34.75 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.2119, allocations: 8.938 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.212, allocations: 176.3 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.212, allocations: 8.375 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.212, allocations: 8.375 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.902e-05/0.2121, allocations: 42.25 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2122, allocations: 3.938 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2122, allocations: 7.984 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2122, allocations: 3.938 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.2122, allocations: 15.98 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.2127, allocations: 356.7 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.2127, allocations: 34.56 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.2128, allocations: 16.86 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.2128, allocations: 0 / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.2129, allocations: 87.31 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2129, allocations: 4 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002183/0.2132, allocations: 97.66 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2132, allocations: 59.39 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.2133, allocations: 129.6 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2133, allocations: 29.7 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.2134, allocations: 88.14 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2134, allocations: 15.8 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.2135, allocations: 53.69 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2136, allocations: 318.8 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2138, allocations: 59.95 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2139, allocations: 92.64 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2141, allocations: 167.6 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2141, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003882/0.2145, allocations: 256.9 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.2146, allocations: 67.39 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2146, allocations: 0 / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2146, allocations: 4 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.2146, allocations: 8.062 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2146, allocations: 4 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.215, allocations: 59.78 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.215, allocations: 11.98 kB / 0.7881 GB, free: 8.18 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 9.271e-05/0.2151, allocations: 121.8 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2151, allocations: 7.906 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2152, allocations: 16.36 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2152, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2152, allocations: 4 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2152, allocations: 0 / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2153, allocations: 173.6 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2153, allocations: 4 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.2153, allocations: 11.92 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2153, allocations: 0 / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.2153, allocations: 0 / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2153, allocations: 4 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2154, allocations: 4 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2155, allocations: 101 kB / 0.7885 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.2155, allocations: 89.02 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2155, allocations: 0 / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.2156, allocations: 0 / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.2156, allocations: 15.86 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2156, allocations: 4 kB / 0.7886 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.2157, allocations: 91.27 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2157, allocations: 4 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002192/0.2159, allocations: 28 kB / 0.7887 GB, free: 7.418 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.0004074/0.2163, allocations: 0.6595 MB / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2166, allocations: 242.9 kB / 0.7896 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2166, allocations: 4.062 kB / 0.7896 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.2167, allocations: 27.92 kB / 0.7896 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.2169, allocations: 15.98 kB / 0.7896 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2186, allocations: 1.705 MB / 0.7913 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2189, allocations: 0.6848 MB / 0.792 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.2189, allocations: 11.98 kB / 0.792 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.219, allocations: 19.44 kB / 0.792 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of SimCode: time 1.372e-06/0.219, allocations: 3.938 kB / 0.792 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.2303, allocations: 2.669 MB / 0.7946 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2305, allocations: 213.1 kB / 0.7948 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.889, allocations: 0 / 0.7948 GB, free: 1.027 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)