Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002753/0.002753, allocations: 188.4 kB / 16.62 MB, free: 6.613 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.769/1.769, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001408/0.001409, allocations: 69.62 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2922, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002586/0.2949, allocations: 0.7048 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.296, allocations: 0.8437 MB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.2961, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.2962, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2963, allocations: 23.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2965, allocations: 15.98 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2966, allocations: 55.84 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2967, allocations: 19.98 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2969, allocations: 31.86 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.297, allocations: 31.84 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.297, allocations: 4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.297, allocations: 4 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.297, allocations: 11.94 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.2971, allocations: 31.84 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2972, allocations: 67.72 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2972, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2973, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2973, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 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.0005094/0.2978, allocations: 367.3 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2978, allocations: 8.031 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.2979, allocations: 8.844 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2982, allocations: 192.1 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2982, allocations: 8.375 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2982, allocations: 4.375 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2984, allocations: 62.22 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2984, allocations: 192 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2984, allocations: 3.938 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2984, allocations: 0 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.2985, allocations: 31.98 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.299, allocations: 300.7 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.2992, allocations: 70.53 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.2993, allocations: 21 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2993, allocations: 0 / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2993, allocations: 30.56 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.2994, allocations: 3.938 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002913/0.2997, allocations: 69.67 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2997, allocations: 51.41 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2998, allocations: 121.8 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2999, allocations: 33.7 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.2999, allocations: 91.98 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.2999, allocations: 15.83 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.3, allocations: 17.72 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3001, allocations: 322.8 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.3002, allocations: 19.98 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.3003, allocations: 33.83 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.3004, allocations: 36.86 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3004, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3005, allocations: 65.67 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3005, allocations: 8.031 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3005, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3006, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.3006, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3006, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.3007, allocations: 15.89 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3007, allocations: 0 / 0.7879 GB, free: 8.629 MB / 0.6075 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.659e-05/0.3008, allocations: 121.7 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.3008, allocations: 0 / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3009, allocations: 19.89 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3009, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3009, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3009, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3011, allocations: 173.6 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3011, allocations: 0 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.3011, allocations: 7.984 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3011, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.3011, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3011, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3011, allocations: 4 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3013, allocations: 159.4 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.3014, allocations: 85.02 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3014, allocations: 4 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.3015, allocations: 7.984 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3015, allocations: 11.92 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3016, allocations: 0 / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.3016, allocations: 103.2 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3016, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002179/0.3018, allocations: 12 kB / 0.7885 GB, free: 7.832 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.443e-05/0.3019, allocations: 94.34 kB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3021, allocations: 35.97 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3021, allocations: 0 / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.3022, allocations: 20 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3025, allocations: 12.86 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.3028, allocations: 163.7 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3031, allocations: 0.6846 MB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.763e-05/0.3032, allocations: 16.2 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.3032, allocations: 15.42 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3032, allocations: 0 / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.003095/0.3063, allocations: 0.6949 MB / 0.7902 GB, free: 6.051 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)