Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.49/1.49, allocations: 287.4 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009048/0.0009052, allocations: 186.1 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006849/0.000685, allocations: 93.72 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 10.56 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007158/0.1695, allocations: 425.7 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.1703, allocations: 0.8321 MB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.1703, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.1704, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.1705, allocations: 15.84 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1706, allocations: 19.98 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.1707, allocations: 47.86 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1708, allocations: 27.91 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.1709, allocations: 23.86 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.171, allocations: 19.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.171, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.171, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.171, allocations: 3.938 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.171, allocations: 33.7 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.533e-05/0.1711, allocations: 52.09 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1711, allocations: 8 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1711, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.1711, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 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.0003646/0.1715, allocations: 359.3 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1716, allocations: 8.031 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.1716, allocations: 34.69 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1716, allocations: 8.844 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1719, allocations: 200.2 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1719, allocations: 4.359 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1719, allocations: 8.375 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1721, allocations: 54.25 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1721, allocations: 3.938 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1721, allocations: 3.984 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1721, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1722, allocations: 39.92 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1725, allocations: 300.8 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1728, allocations: 82.53 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.1728, allocations: 24.94 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1728, allocations: 8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.031e-05/0.1729, allocations: 34.5 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1729, allocations: 0 / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002032/0.1731, allocations: 73.58 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.1731, allocations: 55.41 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.1732, allocations: 117.8 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1732, allocations: 33.69 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.1732, allocations: 88.14 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.1732, allocations: 11.84 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.1732, allocations: 0 / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.1733, allocations: 322.8 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1733, allocations: 16 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.1734, allocations: 37.64 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.033e-05/0.1735, allocations: 33.12 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1735, allocations: 0 / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001095/0.1736, allocations: 73.56 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1736, allocations: 9.719 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1736, allocations: 7.969 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1736, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.1737, allocations: 7.984 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1737, allocations: 0 / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.1738, allocations: 8 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1738, allocations: 7.938 kB / 0.9822 GB, free: 24.3 MB / 0.6198 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 ($PRE.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.1738, allocations: 131.1 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1738, allocations: 3.906 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.1739, allocations: 11.91 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1739, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1739, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1739, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.174, allocations: 177.6 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.174, allocations: 4 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.1741, allocations: 7.938 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1741, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1741, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1741, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1741, allocations: 7.984 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1742, allocations: 159.3 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1742, allocations: 85.09 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1743, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1743, allocations: 8 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.1744, allocations: 7.984 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1744, allocations: 7.984 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.1744, allocations: 87.28 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1744, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001919/0.1746, allocations: 15.98 kB / 0.9829 GB, free: 23.5 MB / 0.6198 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 (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.0002464/0.1749, allocations: 0.6928 MB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.175, allocations: 35.92 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.175, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.1751, allocations: 23.98 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1753, allocations: 8 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.1759, allocations: 0.5154 MB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.595e-05/0.176, allocations: 0.6887 MB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.1761, allocations: 432 / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1761, allocations: 19.44 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1761, allocations: 3.938 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.1872, allocations: 1.471 MB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.1874, allocations: 183.7 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.617, allocations: 3 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)