Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.001531/0.001531, 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.00151/0.00151, allocations: 190.8 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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.75 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.635/1.635, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001308/0.001309, allocations: 69.19 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1974, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001746/0.1992, allocations: 0.7776 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.2001, allocations: 0.8449 MB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.2001, allocations: 0 / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.2001, allocations: 3.938 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.2002, allocations: 7.922 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.2003, allocations: 19.92 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.2004, allocations: 55.78 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.2005, allocations: 20 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.2006, allocations: 27.91 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.2006, allocations: 19.92 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2007, allocations: 0 / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.2007, allocations: 4 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2007, allocations: 11.92 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.2007, allocations: 27.86 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.2008, allocations: 71.92 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2008, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2008, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2008, allocations: 0 / 0.7846 GB, free: 11.97 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.0004002/0.2012, allocations: 367.3 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.2013, allocations: 8.031 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.2013, allocations: 34.73 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.2013, allocations: 8.844 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2015, allocations: 196.1 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2016, allocations: 4.375 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.2016, allocations: 4.375 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2017, allocations: 58.23 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.2017, allocations: 7.938 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.2017, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-06/0.2017, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.2018, allocations: 31.97 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2022, allocations: 304.7 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.2025, allocations: 66.53 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.2025, allocations: 21 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2025, allocations: 0 / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2026, allocations: 38.5 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2026, allocations: 4 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.2028, allocations: 65.67 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2028, allocations: 51.41 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2029, allocations: 125.8 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.203, allocations: 29.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.203, allocations: 92.05 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.203, allocations: 7.844 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.2031, allocations: 25.7 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.2032, allocations: 322.8 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.2032, allocations: 15.98 kB / 0.7864 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.2033, allocations: 25.7 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.2034, allocations: 32.78 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2034, allocations: 4 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.2036, allocations: 73.92 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2036, allocations: 4 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2036, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2036, allocations: 4 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.2037, allocations: 4 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2037, allocations: 0 / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.2037, allocations: 7.984 kB / 0.7866 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.2037, allocations: 0 / 0.7866 GB, free: 9.723 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 (shaH.hys.y,$PRE.shaH.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.413e-05/0.2038, allocations: 129.7 kB / 0.7867 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2039, allocations: 4 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2039, allocations: 11.89 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2039, allocations: 8 kB / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2039, allocations: 0 / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2039, allocations: 0 / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.2041, allocations: 169.6 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2041, allocations: 0 / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.2041, allocations: 7.984 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2041, allocations: 4 kB / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2042, allocations: 4 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2042, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2042, allocations: 0 / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.2043, allocations: 159.4 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.2044, allocations: 81.02 kB / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2044, allocations: 11.94 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.2045, allocations: 3.984 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2045, allocations: 15.92 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2045, allocations: 4 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.2046, allocations: 95.64 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2046, allocations: 0 / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.2048, allocations: 12 kB / 0.7873 GB, free: 8.914 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0004109/0.2052, allocations: 0.6851 MB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.2054, allocations: 39.91 kB / 0.788 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2054, allocations: 0 / 0.788 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.2055, allocations: 12 kB / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2057, allocations: 7.984 kB / 0.788 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.207, allocations: 1.345 MB / 0.7893 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2073, allocations: 0.6925 MB / 0.79 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.2073, allocations: 7.984 kB / 0.79 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.2074, allocations: 19.42 kB / 0.79 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2074, allocations: 4 kB / 0.79 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.2178, allocations: 1.51 MB / 0.7915 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.218, allocations: 199.9 kB / 0.7917 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.885, allocations: 0 / 0.7917 GB, free: 4.289 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)