Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001077/0.001077, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.399/1.399, allocations: 205.1 MB / 222 MB, free: 4.996 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.617/1.617, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.002341/0.002341, allocations: 63.64 kB / 0.6709 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1929, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00198/0.1949, allocations: 0.7776 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000923/0.1959, allocations: 0.8487 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1959, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.196, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.1961, allocations: 11.88 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1962, allocations: 15.98 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.1963, allocations: 59.78 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.1964, allocations: 15.98 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.1965, allocations: 27.92 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.1966, allocations: 15.92 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1966, allocations: 7.938 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.1966, allocations: 4 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1967, allocations: 15.91 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.1967, allocations: 23.88 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.1968, allocations: 67.94 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1968, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1968, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1968, allocations: 0 / 0.7846 GB, free: 11.99 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.0004419/0.1973, allocations: 371.3 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1973, allocations: 8.031 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.1974, allocations: 30.75 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1974, allocations: 8.844 kB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1977, allocations: 196.2 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1977, allocations: 4.375 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1977, allocations: 4.375 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1978, allocations: 62.17 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1978, allocations: 7.938 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.1979, allocations: 0 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1979, allocations: 0 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.792e-05/0.198, allocations: 31.97 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.1984, allocations: 296.7 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1986, allocations: 74.47 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.1987, allocations: 17.02 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1987, allocations: 7.969 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1987, allocations: 30.56 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1987, allocations: 8 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002283/0.199, allocations: 69.61 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.199, allocations: 51.41 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1991, allocations: 121.8 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1991, allocations: 29.7 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1992, allocations: 96.03 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1992, allocations: 7.844 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1993, allocations: 25.7 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1994, allocations: 322.8 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.1994, allocations: 15.98 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.1995, allocations: 25.7 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.1996, allocations: 28.84 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1996, allocations: 4 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.1997, allocations: 69.56 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1997, allocations: 4 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1997, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1998, allocations: 4 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.1998, allocations: 7.984 kB / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1998, allocations: 0 / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.1999, allocations: 7.984 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1999, allocations: 0 / 0.7866 GB, free: 9.738 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: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.761e-05/0.2, allocations: 125.7 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.2, allocations: 4 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.2, allocations: 7.906 kB / 0.7867 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2, allocations: 4 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2001, allocations: 0 / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2001, allocations: 0 / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2002, allocations: 181.5 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2002, allocations: 4 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2003, allocations: 4 kB / 0.7869 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2003, allocations: 7.984 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2003, allocations: 0 / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2003, allocations: 4 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2003, allocations: 3.938 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.2005, allocations: 155.5 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2005, allocations: 81.02 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2005, allocations: 8 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.2006, allocations: 7.922 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.2007, allocations: 12.36 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2007, allocations: 4 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.2007, allocations: 91.27 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002153/0.201, allocations: 12 kB / 0.7873 GB, free: 8.934 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003998/0.2014, allocations: 0.6967 MB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.2015, allocations: 31.98 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.2015, allocations: 0 / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.2016, allocations: 19.98 kB / 0.788 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2019, allocations: 7.094 kB / 0.788 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2031, allocations: 1.339 MB / 0.7893 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2033, allocations: 0.6874 MB / 0.79 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.2033, allocations: 7.938 kB / 0.79 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.2034, allocations: 19.42 kB / 0.79 GB, free: 6 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2034, allocations: 4 kB / 0.79 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.2141, allocations: 1.507 MB / 0.7915 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.2143, allocations: 203.9 kB / 0.7917 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.731, allocations: 0 / 0.7917 GB, free: 4.309 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)