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.461/1.461, allocations: 252 MB / 267 MB, free: 10.96 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.001076/0.001076, allocations: 181.9 kB / 326.6 MB, free: 2.219 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.168/2.168, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007974/0.0007974, allocations: 94.03 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 9.562 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001498/0.2846, allocations: 1.128 MB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.285, allocations: 164.5 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.285, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.2851, allocations: 3.938 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.2852, allocations: 3.938 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2853, allocations: 11.98 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.2854, allocations: 55.78 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2855, allocations: 27.91 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.2856, allocations: 15.94 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.2857, allocations: 27.84 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2857, allocations: 0 / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.2858, allocations: 4 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2858, allocations: 0 / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.2858, allocations: 37.64 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.681e-05/0.2859, allocations: 51.88 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2859, allocations: 4 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2859, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2859, allocations: 0 / 0.9018 GB, free: 62.23 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.0004021/0.2863, allocations: 359.5 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2864, allocations: 8.031 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.2864, allocations: 34.56 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.2865, allocations: 7.906 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2867, allocations: 195 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2867, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2867, allocations: 4 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.2869, allocations: 65.61 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2869, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2869, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2869, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.287, allocations: 39.97 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.2874, allocations: 304.7 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2877, allocations: 86.47 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.2878, allocations: 16.92 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2878, allocations: 8 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2878, allocations: 34.64 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.2878, allocations: 0 / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002571/0.2881, allocations: 85.47 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2881, allocations: 55.41 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.2882, allocations: 125.7 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2882, allocations: 29.7 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2883, allocations: 92.12 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2883, allocations: 7.906 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.2883, allocations: 3.938 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.2884, allocations: 318.8 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.2884, allocations: 16 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.2885, allocations: 33.7 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.2886, allocations: 15.98 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2886, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.2887, allocations: 69.53 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2887, allocations: 8 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2887, allocations: 0 / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2888, allocations: 8.016 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.2888, allocations: 4 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2888, allocations: 3.953 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.2889, allocations: 11.98 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2889, allocations: 4 kB / 0.9038 GB, free: 59.98 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 6.981e-05/0.289, allocations: 114.2 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.289, allocations: 3.906 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.289, allocations: 15.91 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.289, allocations: 3.984 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2891, allocations: 0 / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2891, allocations: 7.938 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2892, allocations: 169.7 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2892, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.2893, allocations: 7.984 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2893, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2893, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2893, allocations: 4 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2893, allocations: 8 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2895, allocations: 167.3 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.2895, allocations: 85.05 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2895, allocations: 3.938 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.2896, allocations: 11.98 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2897, allocations: 7.984 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2897, allocations: 4 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.2897, allocations: 95.27 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2897, allocations: 0 / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002146/0.2899, allocations: 8 kB / 0.9044 GB, free: 59.18 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.0003567/0.2903, allocations: 0.6967 MB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.2905, allocations: 39.97 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2905, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.2905, allocations: 16 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2908, allocations: 15.92 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.2916, allocations: 0.5064 MB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2918, allocations: 0.6926 MB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.2918, allocations: 4 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2919, allocations: 15.42 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.2919, allocations: 4 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.304, allocations: 1.494 MB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.3042, allocations: 194.9 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.812, allocations: 4 kB / 0.908 GB, free: 55.48 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)