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.00109/0.00109, allocations: 105 kB / 15.99 MB, free: 6.352 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.001073/0.001073, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.319/1.319, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.707/1.707, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001333/0.001333, allocations: 69.69 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00196/0.2313, allocations: 0.7699 MB / 0.7843 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.2323, allocations: 0.8486 MB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.2323, allocations: 0 / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.2324, allocations: 4 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.2325, allocations: 7.922 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.2326, allocations: 27.91 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.2327, allocations: 55.86 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2329, allocations: 15.98 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.533e-05/0.233, allocations: 19.94 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.2331, allocations: 43.77 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2331, allocations: 8 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.2331, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.2331, allocations: 7.938 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.2332, allocations: 31.86 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.2333, allocations: 52.11 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2333, allocations: 0 / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2333, allocations: 0 / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2333, allocations: 0 / 0.7854 GB, free: 12 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.0005157/0.2338, allocations: 363.3 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2339, allocations: 15.97 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.2339, allocations: 8.844 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.2342, allocations: 188.2 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2342, allocations: 8.375 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.2342, allocations: 4.375 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.2344, allocations: 54.23 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2344, allocations: 192 / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2344, allocations: 3.938 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2344, allocations: 4 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2346, allocations: 39.91 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.2351, allocations: 296.7 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2353, allocations: 74.52 kB / 0.7864 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.2354, allocations: 17.02 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2354, allocations: 3.984 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2354, allocations: 34.5 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.2354, allocations: 0 / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000235/0.2357, allocations: 73.61 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2357, allocations: 51.41 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.2358, allocations: 117.8 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2358, allocations: 37.69 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2359, allocations: 92.11 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2359, allocations: 11.84 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.236, allocations: 21.7 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2361, allocations: 318.8 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.2361, allocations: 19.98 kB / 0.7871 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.2362, allocations: 33.64 kB / 0.7872 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.2363, allocations: 28.84 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2363, allocations: 0 / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.2364, allocations: 61.69 kB / 0.7873 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2365, allocations: 4 kB / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2365, allocations: 0 / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2365, allocations: 4.031 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.2365, allocations: 11.92 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2365, allocations: 0 / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.2366, allocations: 15.89 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2366, allocations: 3.938 kB / 0.7873 GB, free: 9.789 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 7.664e-05/0.2367, allocations: 117.8 kB / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.2367, allocations: 4 kB / 0.7874 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.2368, allocations: 7.906 kB / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2368, allocations: 4 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2368, allocations: 0 / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2368, allocations: 0 / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.237, allocations: 177.6 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.237, allocations: 0 / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.237, allocations: 11.98 kB / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.237, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.237, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.237, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.237, allocations: 7.938 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.2372, allocations: 163.6 kB / 0.7878 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.2373, allocations: 89.05 kB / 0.7878 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.2373, allocations: 0 / 0.7878 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.2374, allocations: 11.98 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2374, allocations: 4 kB / 0.7879 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2374, allocations: 3.984 kB / 0.7879 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.2375, allocations: 95.7 kB / 0.788 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2375, allocations: 4 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002163/0.2377, allocations: 12 kB / 0.788 GB, free: 8.988 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 0.0001011/0.2378, allocations: 91.25 kB / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.238, allocations: 31.98 kB / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.238, allocations: 4 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.238, allocations: 19.92 kB / 0.7881 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2384, allocations: 15.36 kB / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.2388, allocations: 208.5 kB / 0.7883 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2391, allocations: 0.6846 MB / 0.789 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.2392, allocations: 15.44 kB / 0.789 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2392, allocations: 0 / 0.789 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.002355/0.2415, allocations: 0.8361 MB / 0.7898 GB, free: 7.023 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)