Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 285.4 MB / 298 MB, free: 5.934 MB / 234.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: 180.9 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008315/0.0008313, allocations: 88.28 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.484e-05/5.485e-05, allocations: 8 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8497, allocations: 115.3 MB / 0.971 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/1.054, allocations: 137.8 MB / 1.106 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.055, allocations: 63.95 kB / 1.106 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003678/1.059, allocations: 1.091 MB / 1.107 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.946e-06/1.059, allocations: 0 / 1.107 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.059, allocations: 0.6562 kB / 1.107 GB, free: 12.9 MB / 0.7136 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.0005537/1.059, allocations: 350.4 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/1.059, allocations: 8.031 kB / 1.107 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/1.059, allocations: 35.2 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/1.059, allocations: 4 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.06, allocations: 182.9 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/1.06, allocations: 10.16 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/1.06, allocations: 5.219 kB / 1.107 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.06, allocations: 49.69 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.06, allocations: 3.938 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.06, allocations: 0 / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.06, allocations: 0.9062 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/1.06, allocations: 23.98 kB / 1.107 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/1.061, allocations: 300 kB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/1.061, allocations: 84.52 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/1.061, allocations: 19.72 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/1.061, allocations: 0 / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.061, allocations: 30.56 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/1.061, allocations: 0 / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002694/1.062, allocations: 58.58 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/1.062, allocations: 55.12 kB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.062, allocations: 116.8 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/1.062, allocations: 25.7 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/1.062, allocations: 100.5 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/1.062, allocations: 9.625 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.062, allocations: 0 / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.062, allocations: 322.8 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/1.062, allocations: 8 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/1.062, allocations: 24.53 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/1.062, allocations: 8 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.062, allocations: 0 / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001484/1.063, allocations: 57.88 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.063, allocations: 7.281 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.063, allocations: 0 / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/1.063, allocations: 4.25 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/1.063, allocations: 23.16 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.063, allocations: 0 / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/1.063, allocations: 15.92 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.063, allocations: 3.953 kB / 1.109 GB, free: 10.81 MB / 0.7136 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 () * 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.0001165/1.063, allocations: 109 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/1.063, allocations: 7.938 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/1.063, allocations: 8.031 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.063, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.063, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.063, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/1.063, allocations: 185.7 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.064, allocations: 0 / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/1.064, allocations: 7.984 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/1.064, allocations: 0 / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.064, allocations: 4 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.064, allocations: 4 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.064, allocations: 0 / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/1.064, allocations: 155.3 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/1.064, allocations: 80.3 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/1.064, allocations: 0 / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/1.064, allocations: 15.98 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/1.064, allocations: 7.984 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.064, allocations: 4 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001075/1.064, allocations: 95.27 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.064, allocations: 3.938 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002269/1.065, allocations: 8 kB / 1.109 GB, free: 10.04 MB / 0.7136 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) * 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.0007177/1.065, allocations: 0.6811 MB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001877/1.065, allocations: 31.92 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.065, allocations: 4 kB / 1.11 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/1.066, allocations: 12 kB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/1.066, allocations: 4 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/1.066, allocations: 117.1 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.067, allocations: 0.6848 MB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.063e-05/1.067, allocations: 8 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/1.067, allocations: 19.42 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/1.067, allocations: 0 / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/1.083, allocations: 1.471 MB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.084, allocations: 161.2 kB / 1.112 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.552, allocations: 0 / 1.112 GB, free: 6.902 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)