Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.0008123/0.0008123, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008797/0.00088, allocations: 172.7 kB / 15.95 MB, free: 208 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.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.732/1.732, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004869/0.000487, allocations: 16.72 kB / 0.6739 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007308/0.2268, allocations: 294 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.149e-05/0.2269, allocations: 3.984 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.2269, allocations: 0 / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2269, allocations: 0 / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.93e-05/0.227, allocations: 0 / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.651e-05/0.227, allocations: 4 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.227, allocations: 0 / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.2271, allocations: 4 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.2271, allocations: 0 / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.2272, allocations: 3.938 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2272, allocations: 4 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-06/0.2272, allocations: 4 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.2272, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.2272, allocations: 25.7 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.455e-05/0.2273, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2273, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2273, allocations: 0 / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2273, allocations: 0 / 0.7878 GB, free: 11.46 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003018/0.2276, allocations: 315.4 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2277, allocations: 8.031 kB / 0.7881 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.2277, allocations: 38.5 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.2278, allocations: 3.938 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2279, allocations: 163 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2279, allocations: 4 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.2279, allocations: 0 / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.746e-05/0.228, allocations: 37.62 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.228, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.2281, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2281, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.2281, allocations: 8 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.2284, allocations: 387.4 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.2285, allocations: 169.1 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.2286, allocations: 80.14 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.2286, allocations: 79.28 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.2287, allocations: 105.8 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.2287, allocations: 3.984 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.586e-05/0.2288, allocations: 33.7 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.2288, allocations: 126.7 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.2289, allocations: 97.86 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2289, allocations: 29.69 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.229, allocations: 84.27 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.229, allocations: 3.938 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.229, allocations: 0 / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2291, allocations: 314.8 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.2291, allocations: 0 / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.2292, allocations: 4 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.2292, allocations: 75.28 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/0.2292, allocations: 79.28 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.849e-05/0.2293, allocations: 29.7 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.2293, allocations: 79.28 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.2294, allocations: 83.22 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.707e-05/0.2295, allocations: 150.6 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-05/0.2295, allocations: 79.27 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.135e-05/0.2296, allocations: 154.5 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.2296, allocations: 79.28 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.2297, allocations: 87.22 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001174/0.2298, allocations: 265.2 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.2299, allocations: 105 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.2299, allocations: 109.2 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/0.23, allocations: 180.2 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/0.2301, allocations: 180.3 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/0.2301, allocations: 188.2 kB / 0.7916 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2304, allocations: 401.2 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.2304, allocations: 104.9 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.2305, allocations: 104.9 kB / 0.7922 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-05/0.2305, allocations: 192.3 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.2306, allocations: 180.5 kB / 0.7925 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.824e-05/0.2306, allocations: 184.2 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.752e-05/0.2307, allocations: 184.2 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2308, allocations: 307.8 kB / 0.7932 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.2309, allocations: 190 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.231, allocations: 176.3 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.2311, allocations: 104.9 kB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.2311, allocations: 176.3 kB / 0.7938 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.2312, allocations: 105 kB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.2312, allocations: 87.27 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2312, allocations: 0 / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002715/0.2315, allocations: 0 / 0.794 GB, free: 4.621 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003773/0.2319, allocations: 0.8087 MB / 0.7948 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.877e-05/0.2319, allocations: 4.094 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2319, allocations: 0 / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2319, allocations: 0 / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2323, allocations: 0.5301 MB / 0.7953 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.2329, allocations: 0.4938 MB / 0.7958 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2331, allocations: 0.6732 MB / 0.7964 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.2332, allocations: 0 / 0.7964 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.2332, allocations: 7.438 kB / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2332, allocations: 0 / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009735/0.2429, allocations: 0.7404 MB / 0.7972 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.2431, allocations: 199.5 kB / 0.7974 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.892, allocations: 0 / 0.7974 GB, free: 1.164 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: