Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.637/1.637, allocations: 297.8 MB / 313.7 MB, free: 136 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.001106/0.001106, allocations: 175.1 kB / 384.6 MB, free: 10.87 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.334/1.334, allocations: 223.2 MB / 0.6626 GB, free: 4.336 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.0007779/0.000778, allocations: 99.59 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005737, allocations: 12 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5631, allocations: 120.3 MB / 1.026 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.7285, allocations: 141 MB / 1.164 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.7287, allocations: 65.67 kB / 1.164 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002824/0.7316, allocations: 1.107 MB / 1.165 GB, free: 48 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7316, allocations: 0 / 1.165 GB, free: 48 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7316, allocations: 4 kB / 1.165 GB, free: 44 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.00039/0.732, allocations: 357.9 kB / 1.166 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7321, allocations: 13 kB / 1.166 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.7321, allocations: 8.844 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.7322, allocations: 168.3 kB / 1.166 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.7323, allocations: 5.125 kB / 1.166 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.7323, allocations: 4.375 kB / 1.166 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.7324, allocations: 63.56 kB / 1.166 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7325, allocations: 192 / 1.166 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7325, allocations: 7.938 kB / 1.166 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7325, allocations: 0 / 1.166 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.7326, allocations: 41.22 kB / 1.166 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.733, allocations: 308.7 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.7333, allocations: 82.53 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.7334, allocations: 24.86 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.7334, allocations: 0 / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7334, allocations: 38.64 kB / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7334, allocations: 0 / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002281/0.7337, allocations: 73.67 kB / 1.166 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7337, allocations: 55.41 kB / 1.166 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.7338, allocations: 119.3 kB / 1.166 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.7338, allocations: 37.64 kB / 1.167 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.7339, allocations: 95.97 kB / 1.167 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.7339, allocations: 7.906 kB / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.7339, allocations: 0 / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.734, allocations: 322.8 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.7341, allocations: 23.94 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.7341, allocations: 35.25 kB / 1.167 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.7342, allocations: 28.84 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7342, allocations: 0 / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.7344, allocations: 81.61 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7344, allocations: 4 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.7344, allocations: 0 / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7344, allocations: 0 / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.7345, allocations: 11.94 kB / 1.167 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7345, allocations: 3.984 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.7346, allocations: 8 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.7346, allocations: 0 / 1.167 GB, free: 13.84 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.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 7.298e-05/0.7347, allocations: 121.8 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.7347, allocations: 8.781 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.7347, allocations: 3.906 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7347, allocations: 0 / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7347, allocations: 0 / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7347, allocations: 3.938 kB / 1.167 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.7349, allocations: 181.6 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7349, allocations: 0 / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.735, allocations: 4 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.735, allocations: 8.797 kB / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.735, allocations: 0 / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.735, allocations: 3.984 kB / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.735, allocations: 4 kB / 1.167 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.7352, allocations: 167.3 kB / 1.168 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.7352, allocations: 77.11 kB / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.7352, allocations: 12.94 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.7353, allocations: 4 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.7354, allocations: 7.984 kB / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.7354, allocations: 3.984 kB / 1.168 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.7354, allocations: 97.67 kB / 1.168 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7354, allocations: 0 / 1.168 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002007/0.7356, allocations: 15.91 kB / 1.168 GB, free: 13.04 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 (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 9.568e-05/0.7357, allocations: 95.78 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.7359, allocations: 35.98 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.7359, allocations: 0 / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.7359, allocations: 27.86 kB / 1.168 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7362, allocations: 15.94 kB / 1.168 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.7365, allocations: 185 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.7368, allocations: 0.6866 MB / 1.169 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.7369, allocations: 4 kB / 1.169 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.7369, allocations: 19.42 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.7369, allocations: 0 / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002503/0.7394, allocations: 0.5803 MB / 1.169 GB, free: 11.34 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)