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_T.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_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.461/1.461, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009706/0.0009708, allocations: 181.4 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.253/1.253, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007159/0.0007164, allocations: 86.94 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 16.34 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007701/0.1724, allocations: 425.9 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.1732, allocations: 0.8477 MB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1732, allocations: 0 / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1733, allocations: 7.922 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.1734, allocations: 3.938 kB / 0.9814 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.1735, allocations: 19.97 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.1736, allocations: 51.8 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1737, allocations: 15.98 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.1738, allocations: 23.92 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.1739, allocations: 23.91 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1739, allocations: 4 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.1739, allocations: 0 / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1739, allocations: 3.938 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.174, allocations: 53.56 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.665e-05/0.174, allocations: 40.12 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.174, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1741, allocations: 4 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1741, allocations: 0 / 0.9817 GB, free: 25.7 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.0003703/0.1744, allocations: 363.3 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1745, allocations: 12.03 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1745, allocations: 34.75 kB / 0.982 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1746, allocations: 8.844 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1748, allocations: 196.2 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1748, allocations: 8.375 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1748, allocations: 384 / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.175, allocations: 63.05 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.175, allocations: 3.938 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.175, allocations: 4 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.175, allocations: 7.938 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.1751, allocations: 27.98 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1755, allocations: 300.8 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1757, allocations: 86.47 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1758, allocations: 21 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1758, allocations: 3.984 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.1758, allocations: 34.56 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1758, allocations: 4 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002289/0.1761, allocations: 81.52 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1761, allocations: 55.39 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.1762, allocations: 117.8 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1762, allocations: 25.7 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.1762, allocations: 96.12 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.1763, allocations: 15.78 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1763, allocations: 0 / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.1763, allocations: 318.8 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.1764, allocations: 19.98 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.1764, allocations: 29.7 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.1765, allocations: 36.88 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1765, allocations: 0 / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.1766, allocations: 73.52 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1767, allocations: 4 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1767, allocations: 0 / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1767, allocations: 0 / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.1767, allocations: 12 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1768, allocations: 0 / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.1768, allocations: 15.98 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1768, allocations: 0 / 0.9836 GB, free: 23.43 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.758e-05/0.1769, allocations: 123.1 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1769, allocations: 7.906 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.1769, allocations: 7.891 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.177, allocations: 8 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.177, allocations: 3.938 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.177, allocations: 0 / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1771, allocations: 177.7 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1771, allocations: 0 / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.1771, allocations: 11.98 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1771, allocations: 3.938 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1772, allocations: 4 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1772, allocations: 0 / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1772, allocations: 0 / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1773, allocations: 167.4 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.1773, allocations: 77.11 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1773, allocations: 4 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1774, allocations: 7.984 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1775, allocations: 12.36 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1775, allocations: 4 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.1775, allocations: 99.64 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1775, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001954/0.1777, allocations: 8 kB / 0.9843 GB, free: 22.62 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.000279/0.178, allocations: 0.7006 MB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1781, allocations: 39.97 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1781, allocations: 0 / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.1782, allocations: 27.86 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1784, allocations: 4 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.1791, allocations: 0.5203 MB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.1792, allocations: 0.6887 MB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.1792, allocations: 0 / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1793, allocations: 23.42 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1793, allocations: 0 / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.2022, allocations: 1.475 MB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.2024, allocations: 189.8 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.624, allocations: 4 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)