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.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001061/0.001061, allocations: 184.7 kB / 326.5 MB, free: 2.27 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.981/1.981, allocations: 205.4 MB / 0.5775 GB, free: 20.34 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.001032/0.001032, allocations: 94.28 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004485, allocations: 8.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3134, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002359/0.3158, allocations: 1.123 MB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005133/0.3164, allocations: 149.8 kB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.3165, allocations: 3.938 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3165, allocations: 3.938 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3167, allocations: 15.95 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.3169, allocations: 15.98 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.317, allocations: 31.89 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3171, allocations: 16 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3173, allocations: 19.92 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.3174, allocations: 23.91 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3174, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3174, allocations: 4 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3174, allocations: 7.922 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.3175, allocations: 33.7 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.3176, allocations: 43.91 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3176, allocations: 4 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3176, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3176, allocations: 0 / 0.9016 GB, free: 62.39 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.0005582/0.3182, allocations: 363.5 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.3182, allocations: 8.031 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.3183, allocations: 34.5 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.3184, allocations: 7.906 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3187, allocations: 198.9 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3187, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3188, allocations: 8 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.319, allocations: 53.67 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.319, allocations: 0 / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.319, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.319, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3192, allocations: 39.92 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3197, allocations: 304.7 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3201, allocations: 86.52 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3201, allocations: 0 / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3201, allocations: 38.5 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3202, allocations: 0 / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003067/0.3205, allocations: 77.73 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3205, allocations: 55.36 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3206, allocations: 125.7 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3207, allocations: 33.69 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.3207, allocations: 92.95 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3208, allocations: 3.906 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.3208, allocations: 3.938 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3209, allocations: 322.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.321, allocations: 12 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3211, allocations: 37.64 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.3212, allocations: 20.02 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3212, allocations: 0 / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001624/0.3214, allocations: 69.88 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3214, allocations: 7.984 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3214, allocations: 0 / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.3215, allocations: 4.031 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.3215, allocations: 8 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3216, allocations: 7.953 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.3216, allocations: 11.98 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3216, allocations: 7.938 kB / 0.9036 GB, free: 60.15 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 0.0001158/0.3218, allocations: 113.8 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3218, allocations: 7.906 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.3219, allocations: 7.906 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3219, allocations: 4 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3219, allocations: 3.984 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3219, allocations: 7.953 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3221, allocations: 173.7 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3221, allocations: 0 / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3222, allocations: 11.98 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3222, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3222, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3222, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3222, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3224, allocations: 167.4 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3224, allocations: 81.05 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3225, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3225, allocations: 11.98 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.3226, allocations: 15.92 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3226, allocations: 4 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.3227, allocations: 95.27 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002269/0.3229, allocations: 4 kB / 0.9042 GB, free: 59.35 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.0004382/0.3234, allocations: 0.698 MB / 0.9049 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3236, allocations: 43.91 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3236, allocations: 0 / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.3237, allocations: 16 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3239, allocations: 11.92 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.3249, allocations: 0.5112 MB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3252, allocations: 0.6848 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.3253, allocations: 7.984 kB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3254, allocations: 15.44 kB / 0.9062 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.3254, allocations: 0 / 0.9062 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.3397, allocations: 1.483 MB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.34, allocations: 184.3 kB / 0.9078 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.019, allocations: 0 / 0.9078 GB, free: 55.68 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)