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_H.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: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 252 MB / 267.9 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.00103/0.00103, allocations: 173.5 kB / 327.5 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0008241/0.0008239, allocations: 89.97 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 14.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 106.3 MB / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.3382, allocations: 131.8 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.3385, allocations: 71.95 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00283/0.3413, allocations: 1.112 MB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3413, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3413, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6823 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.0003595/0.3417, allocations: 363.3 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3418, allocations: 12.03 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.3418, allocations: 8.844 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3419, allocations: 176.2 kB / 1.032 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.342, allocations: 8.375 kB / 1.032 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.342, allocations: 384 / 1.032 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3421, allocations: 58.23 kB / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3421, allocations: 192 / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3422, allocations: 3.938 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3422, allocations: 4 kB / 1.032 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.3423, allocations: 35.98 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3427, allocations: 304.7 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.343, allocations: 82.53 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.343, allocations: 25 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3431, allocations: 4 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3431, allocations: 30.56 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.3431, allocations: 0 / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002622/0.3434, allocations: 85.52 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3434, allocations: 51.41 kB / 1.032 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.3435, allocations: 133.7 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3435, allocations: 25.7 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.3436, allocations: 96.08 kB / 1.033 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3436, allocations: 11.8 kB / 1.033 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.3436, allocations: 0 / 1.033 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3437, allocations: 326.7 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.3438, allocations: 15.98 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.3438, allocations: 37.7 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.3439, allocations: 41.05 kB / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.344, allocations: 0 / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.3441, allocations: 65.62 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3441, allocations: 4 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3441, allocations: 8.031 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3441, allocations: 3.984 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.3442, allocations: 4 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3442, allocations: 0 / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.3443, allocations: 15.98 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3443, allocations: 4 kB / 1.033 GB, free: 8.41 MB / 0.6823 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.029e-05/0.3444, allocations: 121.8 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.3444, allocations: 7.844 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3444, allocations: 7.906 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3444, allocations: 0 / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3444, allocations: 0 / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3445, allocations: 0 / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3446, allocations: 181.6 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3446, allocations: 0 / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.3447, allocations: 7.984 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3447, allocations: 0 / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3447, allocations: 0 / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3447, allocations: 4 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3447, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3449, allocations: 165.2 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.3449, allocations: 81.11 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3449, allocations: 8 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.345, allocations: 15.98 kB / 1.034 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3451, allocations: 3.984 kB / 1.034 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3451, allocations: 7.938 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.3451, allocations: 91.27 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3451, allocations: 3.938 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001985/0.3453, allocations: 12 kB / 1.034 GB, free: 7.605 MB / 0.6823 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 8.478e-05/0.3454, allocations: 95.25 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3456, allocations: 43.97 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3456, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.3457, allocations: 16 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3459, allocations: 21.98 kB / 1.034 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.3463, allocations: 188.4 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3465, allocations: 0.6848 MB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.3465, allocations: 4 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3465, allocations: 7.438 kB / 1.035 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3466, allocations: 0 / 1.035 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of Templates: time 0.002305/0.3489, allocations: 0.5986 MB / 1.035 GB, free: 5.898 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)