Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.001693/0.001693, 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.002562/0.002562, allocations: 186.7 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.765/1.765, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001649/0.001649, allocations: 74.64 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2023, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002479/0.2048, allocations: 0.7865 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2065, allocations: 1.137 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2067, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.2067, allocations: 3.938 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2069, allocations: 7.875 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.2076, allocations: 146.9 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.2078, allocations: 131.7 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2079, allocations: 16 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2081, allocations: 55.83 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.2082, allocations: 47.86 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2082, allocations: 12 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.2083, allocations: 27.92 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.2083, allocations: 12 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.2084, allocations: 39.84 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2086, allocations: 127.9 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2086, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2086, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2086, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007347/0.2093, allocations: 421 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2094, allocations: 8.031 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.2094, allocations: 34.75 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.2095, allocations: 8.844 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2097, allocations: 188.1 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.2097, allocations: 8.375 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2098, allocations: 8.375 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2101, allocations: 78.14 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2101, allocations: 3.938 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2101, allocations: 4 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2101, allocations: 0 / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2104, allocations: 67.92 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2109, allocations: 336.6 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.2111, allocations: 51.59 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2112, allocations: 48.89 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.2113, allocations: 4 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.2116, allocations: 91.36 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2116, allocations: 0 / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006338/0.2122, allocations: 169.4 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2123, allocations: 51.41 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.2124, allocations: 122.1 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2124, allocations: 29.7 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.2125, allocations: 96.19 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2125, allocations: 15.75 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.2126, allocations: 33.7 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2127, allocations: 326.8 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.2129, allocations: 55.95 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2131, allocations: 82.52 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2135, allocations: 148.1 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2135, allocations: 0 / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000541/0.214, allocations: 211.2 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.2141, allocations: 37.69 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2141, allocations: 4 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2141, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2143, allocations: 20.23 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2143, allocations: 0 / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.2145, allocations: 43.94 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2146, allocations: 12 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.33e-05/0.2147, allocations: 117.8 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.2147, allocations: 7.906 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.2147, allocations: 20.3 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2147, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2148, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2148, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2149, allocations: 181.6 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2149, allocations: 96 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.215, allocations: 27.92 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.215, allocations: 3.984 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.215, allocations: 0 / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2151, allocations: 0 / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2151, allocations: 4 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.2154, allocations: 152.8 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2155, allocations: 85.02 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2155, allocations: 0 / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.2156, allocations: 15.98 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2156, allocations: 7.984 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2156, allocations: 0 / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.2157, allocations: 99.27 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2157, allocations: 0 / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.2159, allocations: 27.94 kB / 0.7895 GB, free: 6.824 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006434/0.2166, allocations: 0.6981 MB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.2171, allocations: 187.4 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2171, allocations: 4 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.2173, allocations: 47.89 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2175, allocations: 24.17 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2196, allocations: 1.626 MB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2198, allocations: 0.6885 MB / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2198, allocations: 0 / 0.7927 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.2199, allocations: 23.42 kB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2199, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2382, allocations: 2.668 MB / 0.7954 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.923, allocations: 4 kB / 0.7954 GB, free: 0.7891 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)