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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 99.73 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.041/2.041, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3285, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002389/0.331, allocations: 0.7053 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3323, allocations: 0.8438 MB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.3324, allocations: 0 / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.3324, allocations: 3.938 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3325, allocations: 15.86 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3328, allocations: 27.91 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3329, allocations: 59.84 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3331, allocations: 12 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3332, allocations: 23.92 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3333, allocations: 35.83 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3334, allocations: 8 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.328e-05/0.3334, allocations: 8 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.3334, allocations: 7.938 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3335, allocations: 31.86 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.3336, allocations: 75.86 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3337, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3337, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.3337, allocations: 0 / 0.7859 GB, free: 1.949 MB / 0.6544 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.0006905/0.3344, allocations: 363.3 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3344, allocations: 12.03 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.3345, allocations: 8.844 kB / 0.7862 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.3348, allocations: 192.2 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3349, allocations: 4.375 kB / 0.7864 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3349, allocations: 4.375 kB / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.3351, allocations: 54.23 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3351, allocations: 192 / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.3351, allocations: 3.938 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3352, allocations: 7.938 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3353, allocations: 31.98 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.3358, allocations: 296.8 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3361, allocations: 74.47 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.3362, allocations: 21 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3362, allocations: 0 / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3363, allocations: 34.56 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3363, allocations: 0 / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000276/0.3365, allocations: 69.58 kB / 0.787 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3366, allocations: 51.41 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3367, allocations: 126.2 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3367, allocations: 37.64 kB / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.3368, allocations: 88.05 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.3369, allocations: 19.77 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3369, allocations: 17.72 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.606/0.9429, allocations: 318.6 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.9431, allocations: 13.92 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.9431, allocations: 28.06 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.9433, allocations: 30.8 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.9433, allocations: 3.969 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001628/0.9434, allocations: 67.09 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9435, allocations: 6.875 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.9435, allocations: 0 / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.9435, allocations: 0.6562 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.9436, allocations: 8.844 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9436, allocations: 0.9375 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.9437, allocations: 8.359 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.9437, allocations: 0 / 0.7878 GB, free: 48.31 MB / 0.6544 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.9438, allocations: 119.5 kB / 0.7879 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.9438, allocations: 9 kB / 0.7879 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.9438, allocations: 10.84 kB / 0.7879 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9439, allocations: 0 / 0.7879 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.9439, allocations: 4.453 kB / 0.7879 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9439, allocations: 0 / 0.7879 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.944, allocations: 172.2 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9441, allocations: 2.688 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.9441, allocations: 8.094 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9441, allocations: 0 / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.9441, allocations: 2.531 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9441, allocations: 0 / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9441, allocations: 4.938 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.9443, allocations: 160.4 kB / 0.7883 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.9443, allocations: 84.2 kB / 0.7883 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.9443, allocations: 3.375 kB / 0.7883 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.9444, allocations: 9.609 kB / 0.7884 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.9445, allocations: 15.36 kB / 0.7884 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.9445, allocations: 0 / 0.7884 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.9445, allocations: 97.84 kB / 0.7885 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9445, allocations: 0 / 0.7885 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000227/0.9448, allocations: 15.38 kB / 0.7885 GB, free: 47.7 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.909e-05/0.9449, allocations: 97.7 kB / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.945, allocations: 30.08 kB / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.945, allocations: 0 / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.9451, allocations: 19.8 kB / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.9454, allocations: 4 kB / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.9457, allocations: 163.4 kB / 0.7888 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.9459, allocations: 0.6838 MB / 0.7894 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.9459, allocations: 8.875 kB / 0.7895 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.9459, allocations: 10.34 kB / 0.7895 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.9459, allocations: 0 / 0.7895 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.002652/0.9486, allocations: 0.7039 MB / 0.7902 GB, free: 46.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)