Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.465/1.465, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.000983/0.0009831, allocations: 185.3 kB / 372.3 MB, free: 10.12 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.2/1.2, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007733/0.0007733, allocations: 94.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 16.48 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0007154/0.1674, allocations: 425.9 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.1683, allocations: 0.8438 MB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.1684, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.1684, allocations: 3.938 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.1685, allocations: 3.938 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1686, allocations: 11.98 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.1687, allocations: 59.78 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1688, allocations: 19.98 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.1689, allocations: 19.92 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.169, allocations: 19.92 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.169, allocations: 0 / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.169, allocations: 4 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.169, allocations: 11.91 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1691, allocations: 41.58 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.503e-05/0.1692, allocations: 56.11 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1692, allocations: 0 / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1692, allocations: 0 / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1692, allocations: 0 / 0.9817 GB, free: 25.73 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.0004055/0.1696, allocations: 359.3 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1697, allocations: 8.031 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1697, allocations: 30.75 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1697, allocations: 12.84 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.17, allocations: 196.2 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.17, allocations: 4.375 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.17, allocations: 4.375 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1701, allocations: 67.03 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1701, allocations: 3.938 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1702, allocations: 3.938 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1702, allocations: 0 / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.1703, allocations: 39.97 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1706, allocations: 296.8 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1709, allocations: 86.47 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.1709, allocations: 24.92 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1709, allocations: 0 / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.171, allocations: 34.64 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.171, allocations: 0 / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.1712, allocations: 81.52 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.1712, allocations: 51.41 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.1713, allocations: 121.8 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1713, allocations: 29.7 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1713, allocations: 92.12 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1714, allocations: 7.844 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1714, allocations: 3.938 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.1714, allocations: 326.8 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1715, allocations: 12 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.1715, allocations: 33.89 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.1716, allocations: 36.92 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1716, allocations: 0 / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.1718, allocations: 77.52 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1718, allocations: 8.031 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.1718, allocations: 0 / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1718, allocations: 0 / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.1718, allocations: 4 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1719, allocations: 7.984 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.1719, allocations: 8 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1719, allocations: 0 / 0.9836 GB, free: 23.46 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.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.172, allocations: 129.8 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.172, allocations: 7.906 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.1721, allocations: 7.906 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1721, allocations: 3.938 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1721, allocations: 0 / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1721, allocations: 0 / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1722, allocations: 177.6 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1722, allocations: 4 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.1723, allocations: 4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1723, allocations: 0 / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1723, allocations: 12 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1723, allocations: 7.922 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1723, allocations: 0 / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.1724, allocations: 163.4 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.1725, allocations: 81.09 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1725, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1725, allocations: 12 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1726, allocations: 7.984 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1726, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.1726, allocations: 95.27 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1726, allocations: 0 / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001974/0.1728, allocations: 8 kB / 0.9843 GB, free: 22.66 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 (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 (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.0002685/0.1731, allocations: 0.7006 MB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1733, allocations: 35.98 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1733, allocations: 0 / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.1733, allocations: 27.92 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1736, allocations: 12.97 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.1742, allocations: 0.5243 MB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.1743, allocations: 0.6809 MB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.1744, allocations: 12.06 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.1744, allocations: 23.44 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.1744, allocations: 0 / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.185, allocations: 1.471 MB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.1852, allocations: 189.8 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.82, allocations: 7.188 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)