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.001104/0.001105, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005014/0.005015, allocations: 169 kB / 16.26 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.483/1.483, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005411/0.000541, allocations: 13.5 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007791/0.2216, allocations: 445.3 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.2225, allocations: 0.8409 MB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.2225, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.2225, allocations: 3.984 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.2226, allocations: 7.938 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.2228, allocations: 27.91 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.2228, allocations: 47.86 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.2229, allocations: 19.98 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.223, allocations: 19.92 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.2231, allocations: 27.84 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2231, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-06/0.2231, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.2232, allocations: 3.938 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2232, allocations: 49.56 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.2233, allocations: 68.03 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2233, allocations: 0 / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2233, allocations: 3.938 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2233, allocations: 3.938 kB / 0.7895 GB, free: 9.906 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.0004039/0.2237, allocations: 359.3 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2238, allocations: 11.97 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.2238, allocations: 38.75 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.2239, allocations: 8.844 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2241, allocations: 192.3 kB / 0.7901 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2241, allocations: 384 / 0.7901 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2241, allocations: 4.375 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2243, allocations: 58.23 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2243, allocations: 3.938 kB / 0.7902 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2243, allocations: 4 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2243, allocations: 4 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.2244, allocations: 39.91 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.2248, allocations: 296.7 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.225, allocations: 90.47 kB / 0.7906 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.2251, allocations: 20.92 kB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2251, allocations: 176 / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2252, allocations: 34.55 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.2252, allocations: 0 / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002282/0.2254, allocations: 85.56 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.2254, allocations: 55.41 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.2255, allocations: 117.8 kB / 0.7909 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2255, allocations: 25.7 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2256, allocations: 96.11 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.2256, allocations: 11.84 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.2256, allocations: 17.66 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.2257, allocations: 322.8 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.2258, allocations: 19.98 kB / 0.7914 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.2259, allocations: 33.66 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.2259, allocations: 32.84 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.226, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.2261, allocations: 69.58 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2261, allocations: 12.03 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2261, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2261, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.2262, allocations: 11.92 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2262, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.2263, allocations: 12 kB / 0.7915 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2263, allocations: 3.984 kB / 0.7915 GB, free: 7.613 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.455e-05/0.2264, allocations: 121.8 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2264, allocations: 3.906 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.2264, allocations: 11.91 kB / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2264, allocations: 0 / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2264, allocations: 0 / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2264, allocations: 3.938 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2266, allocations: 177.6 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2266, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.2266, allocations: 4 kB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2267, allocations: 0 / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2267, allocations: 4 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2267, allocations: 7.984 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2267, allocations: 4 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2268, allocations: 163.3 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2269, allocations: 81.11 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2269, allocations: 4 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.227, allocations: 12 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.227, allocations: 7.984 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.227, allocations: 3.984 kB / 0.7921 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.2271, allocations: 87.72 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2271, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002161/0.2273, allocations: 12 kB / 0.7922 GB, free: 6.816 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.0004189/0.2277, allocations: 0.7009 MB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2279, allocations: 43.95 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2279, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.228, allocations: 23.98 kB / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2283, allocations: 10.58 kB / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.2295, allocations: 1.369 MB / 0.7943 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2297, allocations: 0.6835 MB / 0.795 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.2298, allocations: 4 kB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2298, allocations: 19.42 kB / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2298, allocations: 0 / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.2404, allocations: 1.457 MB / 0.7964 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.2406, allocations: 193.7 kB / 0.7966 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.877, allocations: 3.375 kB / 0.7966 GB, free: 2.234 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)