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_H.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_H,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, 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.001188/0.001188, allocations: 173.2 kB / 327 MB, free: 2.121 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.906/1.906, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007742/0.000774, allocations: 86.31 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004266, allocations: 8.812 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00157/0.2521, allocations: 1.144 MB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.2525, allocations: 156.4 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.2526, allocations: 0 / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.2526, allocations: 0 / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2527, allocations: 11.86 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2529, allocations: 19.97 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.085e-05/0.253, allocations: 55.8 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2531, allocations: 15.98 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.2533, allocations: 23.94 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.2533, allocations: 27.83 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2534, allocations: 4 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2534, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2534, allocations: 8 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.2535, allocations: 45.52 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.2536, allocations: 59.75 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2536, allocations: 4 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2536, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2536, allocations: 0 / 0.9024 GB, free: 61.86 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.000435/0.254, allocations: 365 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2541, allocations: 8.031 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.2541, allocations: 38.75 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2542, allocations: 4.844 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2544, allocations: 200.2 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2544, allocations: 8.312 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2544, allocations: 4.375 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2546, allocations: 58.23 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2546, allocations: 3.938 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2546, allocations: 3.938 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2546, allocations: 7.922 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2547, allocations: 39.97 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2551, allocations: 304.7 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.2554, allocations: 94.52 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.2554, allocations: 16.86 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2555, allocations: 4 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.2555, allocations: 30.56 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2555, allocations: 0 / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002421/0.2557, allocations: 77.75 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2558, allocations: 51.41 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.2558, allocations: 125.8 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2559, allocations: 33.64 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.2559, allocations: 96.03 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2559, allocations: 3.906 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.2559, allocations: 0 / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.256, allocations: 322.8 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.2561, allocations: 15.98 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.2561, allocations: 33.7 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.2562, allocations: 36.84 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2562, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.2563, allocations: 69.58 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2564, allocations: 4 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2564, allocations: 8.031 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2564, allocations: 3.938 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.2564, allocations: 4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2565, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.2565, allocations: 11.98 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2565, allocations: 7.938 kB / 0.9044 GB, free: 59.57 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.2566, allocations: 117.8 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2566, allocations: 4 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.2567, allocations: 15.89 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2567, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2567, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2567, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2568, allocations: 169.6 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2568, allocations: 4 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.2569, allocations: 7.984 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2569, allocations: 0 / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2569, allocations: 4 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2569, allocations: 4 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2569, allocations: 0 / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.2571, allocations: 175.6 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.2571, allocations: 88.95 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2571, allocations: 0 / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.2572, allocations: 15.98 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2573, allocations: 7.984 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2573, allocations: 4 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.2573, allocations: 95.27 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2573, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002015/0.2575, allocations: 8 kB / 0.9051 GB, free: 58.76 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 (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 (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.0003467/0.2579, allocations: 0.6929 MB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.258, allocations: 39.97 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.258, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.2581, allocations: 20 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2584, allocations: 10.95 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2594, allocations: 1.371 MB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2595, allocations: 0.6887 MB / 0.9079 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.2596, allocations: 4 kB / 0.9079 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.2596, allocations: 15.42 kB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2596, allocations: 0 / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.2718, allocations: 1.462 MB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.272, allocations: 203.9 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.039, allocations: 1.828 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)