Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001116/0.001116, allocations: 193 kB / 377.1 MB, free: 1.516 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.782/1.782, allocations: 205.4 MB / 0.6366 GB, free: 8.578 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.0009234/0.0009234, allocations: 96.42 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 116.3 MB / 0.9884 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7918/1.072, allocations: 138.8 MB / 1.124 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.072, allocations: 69.44 kB / 1.124 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003278/1.075, allocations: 1.081 MB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.075, allocations: 0 / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.075, allocations: 2.906 kB / 1.125 GB, free: 34.88 MB / 0.7292 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.0004457/1.076, allocations: 380.1 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.076, allocations: 12.02 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/1.076, allocations: 30.56 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/1.076, allocations: 10.06 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.076, allocations: 170.9 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/1.076, allocations: 8 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/1.076, allocations: 5.453 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/1.076, allocations: 64.97 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.076, allocations: 0.6875 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/1.076, allocations: 0 / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.076, allocations: 4 kB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/1.077, allocations: 35.56 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/1.077, allocations: 300.7 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/1.077, allocations: 84.31 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/1.077, allocations: 0 / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/1.077, allocations: 34.56 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.077, allocations: 8.062 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002996/1.078, allocations: 80.56 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/1.078, allocations: 51.41 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/1.078, allocations: 113.4 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/1.078, allocations: 25.7 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/1.078, allocations: 102.6 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.078, allocations: 11.81 kB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/1.078, allocations: 0 / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/1.078, allocations: 326.2 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/1.078, allocations: 15.52 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/1.078, allocations: 30.17 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/1.078, allocations: 22.72 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.078, allocations: 0.8438 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001449/1.078, allocations: 68.72 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.078, allocations: 4 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.078, allocations: 4.625 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.079, allocations: 0 / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/1.079, allocations: 11.42 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.079, allocations: 0 / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/1.079, allocations: 15.47 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/1.079, allocations: 5.109 kB / 1.127 GB, free: 32.79 MB / 0.7292 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 8.31e-05/1.079, allocations: 119.3 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/1.079, allocations: 3.906 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/1.079, allocations: 7.906 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.079, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.079, allocations: 0.8906 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.079, allocations: 4 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/1.079, allocations: 180.1 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.079, allocations: 4 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/1.079, allocations: 8.625 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.079, allocations: 0 / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/1.079, allocations: 1.031 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.079, allocations: 0 / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.079, allocations: 7.281 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/1.079, allocations: 167.5 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/1.079, allocations: 82.23 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/1.079, allocations: 4 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/1.079, allocations: 11.47 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/1.08, allocations: 3.609 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.08, allocations: 4 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.301e-05/1.08, allocations: 94.84 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002157/1.08, allocations: 12.56 kB / 1.128 GB, free: 32.04 MB / 0.7292 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.0003571/1.08, allocations: 0.6992 MB / 1.128 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001716/1.08, allocations: 36.27 kB / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.08, allocations: 0 / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/1.08, allocations: 24.16 kB / 1.128 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.081, allocations: 10.19 kB / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/1.082, allocations: 0.5108 MB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/1.082, allocations: 0.6917 MB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.598e-05/1.082, allocations: 8.75 kB / 1.13 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/1.082, allocations: 16.72 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/1.082, allocations: 0 / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/1.1, allocations: 1.46 MB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.1, allocations: 174.6 kB / 1.131 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.793, allocations: 0 / 1.131 GB, free: 29.02 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)