Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.626/1.626, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 200.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 98.59 kB / 0.7808 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 13.73 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5415, allocations: 120.3 MB / 1.026 GB, free: 56.92 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.7068, allocations: 141 MB / 1.164 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.707, allocations: 67.95 kB / 1.164 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002917/0.7099, allocations: 1.094 MB / 1.165 GB, free: 36 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/0.71, allocations: 0.9688 kB / 1.165 GB, free: 36 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.71, allocations: 0 / 1.165 GB, free: 36 kB / 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.000373/0.7104, allocations: 365.4 kB / 1.166 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7104, allocations: 12.03 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.7105, allocations: 10.61 kB / 1.166 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7106, allocations: 172.2 kB / 1.166 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.7106, allocations: 1.219 kB / 1.166 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.7106, allocations: 8.375 kB / 1.166 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.7108, allocations: 67.23 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7108, allocations: 192 / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7108, allocations: 4.688 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7108, allocations: 1.125 kB / 1.166 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.7109, allocations: 41.5 kB / 1.166 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.7114, allocations: 309.7 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.7117, allocations: 86.59 kB / 1.166 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.7117, allocations: 20.94 kB / 1.166 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.7117, allocations: 0 / 1.166 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.7118, allocations: 34.5 kB / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7118, allocations: 0 / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002442/0.712, allocations: 83.12 kB / 1.166 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.7121, allocations: 51.41 kB / 1.166 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.7122, allocations: 122.9 kB / 1.167 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7122, allocations: 25.7 kB / 1.167 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.7123, allocations: 99.98 kB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.7123, allocations: 7.906 kB / 1.167 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.7123, allocations: 0 / 1.167 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.7124, allocations: 326.8 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.7125, allocations: 23.92 kB / 1.167 GB, free: 14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.7125, allocations: 25.72 kB / 1.167 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.069e-05/0.7126, allocations: 40.77 kB / 1.167 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7126, allocations: 0 / 1.167 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.7128, allocations: 73.62 kB / 1.167 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7128, allocations: 4 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7128, allocations: 0.9844 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.7128, allocations: 0 / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.7129, allocations: 15.98 kB / 1.167 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7129, allocations: 0 / 1.167 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.713, allocations: 15.98 kB / 1.167 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.713, allocations: 0 / 1.167 GB, free: 13.81 MB / 0.7448 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 8.138e-05/0.7131, allocations: 121.7 kB / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7131, allocations: 4 kB / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.7131, allocations: 7.906 kB / 1.167 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7131, allocations: 0 / 1.167 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7131, allocations: 0 / 1.167 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7131, allocations: 4.781 kB / 1.167 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.7133, allocations: 181.6 kB / 1.167 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7133, allocations: 4 kB / 1.167 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.7134, allocations: 7.984 kB / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7134, allocations: 4 kB / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.7134, allocations: 0 / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7134, allocations: 0 / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7134, allocations: 0 / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.7136, allocations: 168.7 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.7136, allocations: 77.11 kB / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.7136, allocations: 4 kB / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.7137, allocations: 7.984 kB / 1.168 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.7138, allocations: 15.92 kB / 1.168 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7138, allocations: 0 / 1.168 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.7138, allocations: 96.25 kB / 1.168 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7138, allocations: 0 / 1.168 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002026/0.7141, allocations: 11.91 kB / 1.168 GB, free: 13.02 MB / 0.7448 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 9.327e-05/0.7142, allocations: 99.78 kB / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.7143, allocations: 39.97 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7143, allocations: 0 / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.7144, allocations: 16 kB / 1.168 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.7146, allocations: 20.62 kB / 1.168 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.715, allocations: 178.4 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.7152, allocations: 0.6886 MB / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.7152, allocations: 12.97 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.7153, allocations: 11.44 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.7153, allocations: 0 / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.002269/0.7175, allocations: 0.5861 MB / 1.169 GB, free: 11.32 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)