Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009055/0.0009056, allocations: 174.5 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.28 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003262, allocations: 7.562 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 106.4 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001804/0.2697, allocations: 1.14 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.2702, allocations: 152.4 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.2702, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.2703, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2704, allocations: 7.922 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2706, allocations: 27.91 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.2707, allocations: 59.8 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2709, allocations: 15.98 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.271, allocations: 19.94 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.2711, allocations: 27.83 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.2711, allocations: 4 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2712, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2712, allocations: 8 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.2713, allocations: 53.5 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2714, allocations: 51.81 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2714, allocations: 3.938 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2714, allocations: 4 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2714, allocations: 0 / 0.9025 GB, free: 61.81 MB / 0.6042 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.0004979/0.2719, allocations: 355.7 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.272, allocations: 16.03 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.272, allocations: 34.75 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2721, allocations: 8.844 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.2723, allocations: 188.3 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2724, allocations: 8.312 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2724, allocations: 4.375 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.2725, allocations: 58.23 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2726, allocations: 3.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2726, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2726, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2727, allocations: 39.91 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.2733, allocations: 304.7 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2736, allocations: 90.45 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.2736, allocations: 16.92 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2737, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2737, allocations: 38.56 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2737, allocations: 3.938 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002788/0.274, allocations: 77.75 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.274, allocations: 51.41 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.2741, allocations: 121.8 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2742, allocations: 29.7 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.2742, allocations: 99.97 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2743, allocations: 7.906 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.2743, allocations: 0 / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.2744, allocations: 322.8 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.2744, allocations: 20 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.2745, allocations: 29.7 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.2746, allocations: 33.12 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2746, allocations: 0 / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.2747, allocations: 77.59 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2748, allocations: 8 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2748, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2748, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.2749, allocations: 7.938 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2749, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.2749, allocations: 15.98 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.275, allocations: 3.938 kB / 0.9044 GB, free: 59.54 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.275, allocations: 122.4 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2751, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.2751, allocations: 15.89 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2751, allocations: 0 / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2751, allocations: 4 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2752, allocations: 0 / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.2753, allocations: 173.6 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2753, allocations: 3.984 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.2754, allocations: 8 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2754, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2754, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2754, allocations: 4 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2754, allocations: 0 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.2756, allocations: 167.3 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.2756, allocations: 88.95 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2756, allocations: 7.984 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.2757, allocations: 8 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.2758, allocations: 7.984 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2758, allocations: 0 / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.2758, allocations: 91.27 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2758, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002079/0.2761, allocations: 15.94 kB / 0.9051 GB, free: 58.73 MB / 0.6042 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.0003918/0.2765, allocations: 0.6929 MB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.2766, allocations: 39.97 kB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2766, allocations: 4 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.2767, allocations: 19.98 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.2771, allocations: 4 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2783, allocations: 1.373 MB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2784, allocations: 0.6848 MB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.2785, allocations: 8.031 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.2786, allocations: 27.42 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2786, allocations: 0 / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.2898, allocations: 1.451 MB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.29, allocations: 203.7 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.261, allocations: 0 / 0.9095 GB, free: 54.17 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)