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.402/1.402, allocations: 252 MB / 267 MB, free: 10.97 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.0009566/0.0009566, allocations: 182.2 kB / 326.6 MB, free: 2.215 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.93/1.93, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0008826/0.0008826, allocations: 100.5 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 9.5 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001662/0.234, allocations: 1.128 MB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.2344, allocations: 156.5 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2345, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.2345, allocations: 7.875 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.371e-05/0.2346, allocations: 3.938 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.2348, allocations: 15.98 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.2349, allocations: 63.7 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.235, allocations: 16 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.2351, allocations: 15.92 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.2352, allocations: 23.86 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2352, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2352, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2352, allocations: 15.97 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.2353, allocations: 33.64 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.051e-05/0.2353, allocations: 43.91 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2354, allocations: 4 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2354, allocations: 0 / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2354, allocations: 0 / 0.9018 GB, free: 62.26 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.0004236/0.2358, allocations: 363.5 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2359, allocations: 12.03 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.2359, allocations: 30.56 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.2359, allocations: 7.906 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.2361, allocations: 191 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2362, allocations: 8 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2362, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2363, allocations: 57.67 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2363, allocations: 3.938 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2364, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2364, allocations: 4 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2365, allocations: 39.97 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.2368, allocations: 304.7 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2371, allocations: 86.47 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.2372, allocations: 21 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2372, allocations: 7.984 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.2372, allocations: 30.56 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2372, allocations: 0 / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002728/0.2375, allocations: 81.53 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.2375, allocations: 63.27 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.2376, allocations: 125.8 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2376, allocations: 29.7 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.2377, allocations: 92.12 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.2377, allocations: 3.906 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.2377, allocations: 4 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.2378, allocations: 314.8 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.2378, allocations: 15.98 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.2379, allocations: 41.64 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.238, allocations: 8 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.238, allocations: 4 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.2381, allocations: 69.58 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2381, allocations: 4 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2381, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2381, allocations: 4.031 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.2382, allocations: 19.92 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2382, allocations: 3.953 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.2383, allocations: 12 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2383, allocations: 0 / 0.9038 GB, free: 60 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.2384, allocations: 117.8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.2384, allocations: 7.906 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.2384, allocations: 7.906 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2384, allocations: 0 / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2384, allocations: 4 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2385, allocations: 3.953 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.2386, allocations: 173.6 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2386, allocations: 0 / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.2386, allocations: 8 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2387, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2387, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2387, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2387, allocations: 4 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.2388, allocations: 171.3 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.2389, allocations: 85.03 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2389, allocations: 4 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.239, allocations: 8 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.239, allocations: 11.98 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.239, allocations: 3.984 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.2391, allocations: 91.28 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2391, allocations: 0 / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001948/0.2393, allocations: 8 kB / 0.9044 GB, free: 59.21 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 (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.0003326/0.2396, allocations: 0.7009 MB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2398, allocations: 40.02 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2398, allocations: 0 / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.2398, allocations: 19.98 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2401, allocations: 11.7 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.2408, allocations: 0.5117 MB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.241, allocations: 0.6886 MB / 0.9064 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.241, allocations: 4 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2411, allocations: 23.42 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2411, allocations: 7.938 kB / 0.9064 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.2544, allocations: 1.493 MB / 0.9078 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.2546, allocations: 197.3 kB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.771, allocations: 0 / 0.908 GB, free: 55.5 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)