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.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001015/0.001015, allocations: 178.7 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.001072/0.001072, allocations: 94.23 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 9.188 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001586/0.2974, allocations: 1.123 MB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000374/0.2978, allocations: 149.7 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.2978, allocations: 0 / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.2979, allocations: 3.938 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.298, allocations: 19.95 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.2981, allocations: 15.92 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.2982, allocations: 31.95 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2983, allocations: 12 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.2984, allocations: 27.86 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.2985, allocations: 23.91 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2985, allocations: 4 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.2986, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2986, allocations: 3.984 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.2986, allocations: 37.64 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.855e-05/0.2987, allocations: 39.91 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2987, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2987, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2987, allocations: 0 / 0.9016 GB, free: 62.88 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.0004631/0.2992, allocations: 371.4 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2992, allocations: 8.031 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2993, allocations: 34.56 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.2993, allocations: 7.906 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.2996, allocations: 194.9 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2996, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2996, allocations: 12 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2998, allocations: 57.67 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2998, allocations: 0 / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2998, allocations: 3.938 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2998, allocations: 0 / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.2999, allocations: 31.98 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3003, allocations: 312.5 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.3006, allocations: 82.53 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3006, allocations: 0 / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3006, allocations: 42.7 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3006, allocations: 0 / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002479/0.3009, allocations: 85.5 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3009, allocations: 55.36 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.301, allocations: 121.8 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.301, allocations: 25.7 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.3011, allocations: 96.97 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3011, allocations: 7.969 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.3011, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.3012, allocations: 322.8 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.824e-05/0.3013, allocations: 12 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.3013, allocations: 29.7 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.3014, allocations: 23.98 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3014, allocations: 0 / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.3015, allocations: 73.56 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3015, allocations: 5.875 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3015, allocations: 0 / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3016, allocations: 3.984 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.3016, allocations: 8 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3016, allocations: 3.953 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.3017, allocations: 11.98 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3017, allocations: 4 kB / 0.9036 GB, free: 60.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.3018, allocations: 113.8 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3018, allocations: 7.906 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.3018, allocations: 7.906 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3019, allocations: 4 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3019, allocations: 3.938 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3019, allocations: 3.953 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.302, allocations: 173.6 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.302, allocations: 4 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.3021, allocations: 11.98 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3021, allocations: 0 / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3021, allocations: 0 / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3021, allocations: 3.938 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3021, allocations: 0 / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3023, allocations: 171.4 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3023, allocations: 77.11 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3023, allocations: 4 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.3024, allocations: 7.984 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3024, allocations: 11.92 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3025, allocations: 0 / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.3025, allocations: 99.27 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3025, allocations: 0 / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002011/0.3027, allocations: 11.94 kB / 0.9043 GB, free: 59.83 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 (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.000362/0.3031, allocations: 0.6931 MB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3032, allocations: 43.97 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3033, allocations: 0 / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.3033, allocations: 20.08 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3035, allocations: 11.98 kB / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.3043, allocations: 0.5081 MB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.3045, allocations: 0.6887 MB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.3045, allocations: 11.98 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3046, allocations: 15.44 kB / 0.9062 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.3046, allocations: 0 / 0.9062 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.3183, allocations: 1.476 MB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.3186, allocations: 180 kB / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.889, allocations: 3.938 kB / 0.9078 GB, free: 56.16 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)