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.664/1.664, allocations: 289.9 MB / 297.4 MB, free: 6.301 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.001057/0.001057, allocations: 192.8 kB / 366.7 MB, free: 1.625 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.806/1.806, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008531/0.0008528, allocations: 91.8 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.153e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8293, allocations: 116.3 MB / 0.9733 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/1.047, allocations: 138.1 MB / 1.108 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.047, allocations: 63.97 kB / 1.108 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003396/1.051, allocations: 1.074 MB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/1.051, allocations: 0 / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.051, allocations: 4.781 kB / 1.109 GB, free: 10.91 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.0004128/1.051, allocations: 356.1 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.051, allocations: 12.03 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/1.051, allocations: 10.53 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/1.052, allocations: 186.3 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.052, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.052, allocations: 4.969 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.328e-05/1.052, allocations: 23.98 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/1.052, allocations: 46.16 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.052, allocations: 0 / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.052, allocations: 1.469 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.052, allocations: 4 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/1.052, allocations: 275.8 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/1.053, allocations: 77.48 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/1.053, allocations: 10.3 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/1.053, allocations: 11.98 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/1.053, allocations: 31.78 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.053, allocations: 0 / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/1.053, allocations: 51.47 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.053, allocations: 53.19 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/1.053, allocations: 107 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/1.053, allocations: 25.7 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/1.053, allocations: 96.03 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/1.053, allocations: 12.53 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.053, allocations: 0.875 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.053, allocations: 318.8 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/1.053, allocations: 9.812 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/1.053, allocations: 29.66 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/1.054, allocations: 10.69 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.054, allocations: 3.812 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.66e-05/1.054, allocations: 49.69 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.054, allocations: 9.25 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.054, allocations: 3.281 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.054, allocations: 0 / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/1.054, allocations: 7.984 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.054, allocations: 0 / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/1.054, allocations: 16.88 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/1.054, allocations: 7.984 kB / 1.111 GB, free: 8.914 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 9.166e-05/1.054, allocations: 111.4 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001004/1.054, allocations: 60.34 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/1.054, allocations: 3.906 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/1.054, allocations: 12.34 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.054, allocations: 240 / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.054, allocations: 0 / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.054, allocations: 3.984 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/1.054, allocations: 154.2 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.054, allocations: 0 / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/1.054, allocations: 8 kB / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.054, allocations: 4 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.054, allocations: 0 / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.054, allocations: 2.938 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.054, allocations: 0 / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/1.055, allocations: 155.4 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/1.055, allocations: 81.02 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/1.055, allocations: 0 / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/1.055, allocations: 12 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/1.055, allocations: 11.97 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/1.055, allocations: 0 / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.825e-05/1.055, allocations: 91.28 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 3.938 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002131/1.055, allocations: 8 kB / 1.112 GB, free: 8.125 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.0003942/1.056, allocations: 0.685 MB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001136/1.056, allocations: 23.94 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.056, allocations: 0 / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/1.056, allocations: 12.75 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/1.056, allocations: 7.984 kB / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/1.056, allocations: 109.6 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/1.057, allocations: 0.6924 MB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.976e-05/1.057, allocations: 3.984 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/1.057, allocations: 22.72 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of SimCode: time 4.8e-07/1.057, allocations: 0 / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/1.08, allocations: 1.123 MB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/1.081, allocations: 132.7 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.677, allocations: 3.938 kB / 1.114 GB, free: 5.207 MB / 0.7136 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)