Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.908/1.908, allocations: 288.4 MB / 303.7 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 186.9 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009249, allocations: 98.27 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005973, allocations: 15.73 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2884, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008361/0.2893, allocations: 421.9 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.2902, allocations: 0.8399 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2903, allocations: 0 / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.2903, allocations: 0 / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.2904, allocations: 11.88 kB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2905, allocations: 15.98 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.2906, allocations: 55.83 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2907, allocations: 12 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.2908, allocations: 27.86 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.2909, allocations: 19.92 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2909, allocations: 3.984 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.2909, allocations: 8 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.291, allocations: 7.922 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.291, allocations: 37.64 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.2911, allocations: 52.11 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2911, allocations: 3.938 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2911, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2911, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 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.0003809/0.2915, allocations: 364.9 kB / 0.9819 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2915, allocations: 8.031 kB / 0.9819 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2916, allocations: 4.938 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2918, allocations: 196.2 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2918, allocations: 4.375 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2918, allocations: 4.375 kB / 0.9821 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.292, allocations: 59.11 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.292, allocations: 12.12 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.292, allocations: 3.938 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.292, allocations: 0 / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.2921, allocations: 43.84 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.2925, allocations: 296.7 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.2927, allocations: 86.52 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.2928, allocations: 20.86 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2928, allocations: 4 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.2928, allocations: 30.56 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2928, allocations: 0 / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002228/0.2931, allocations: 85.66 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.2931, allocations: 51.41 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.2932, allocations: 117.8 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2932, allocations: 29.7 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.2932, allocations: 88.12 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.2932, allocations: 15.84 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.2932, allocations: 0 / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2933, allocations: 322.8 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.2933, allocations: 23.94 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.2934, allocations: 29.7 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.2935, allocations: 28.84 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2935, allocations: 0 / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.2936, allocations: 77.89 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2936, allocations: 9.719 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2936, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2937, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.2937, allocations: 7.984 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2937, allocations: 4 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.2938, allocations: 15.97 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2938, allocations: 8 kB / 0.9836 GB, free: 23.57 MB / 0.6198 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 5.526e-05/0.2939, allocations: 121.8 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2939, allocations: 3.906 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.2939, allocations: 15.89 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2939, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2939, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2939, allocations: 3.938 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2941, allocations: 177.7 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2941, allocations: 3.984 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.2941, allocations: 8 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2941, allocations: 0 / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2941, allocations: 0 / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2942, allocations: 0 / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2942, allocations: 7.938 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2943, allocations: 159.4 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.2943, allocations: 89.02 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2943, allocations: 3.984 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.2944, allocations: 8 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2945, allocations: 7.984 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2945, allocations: 4 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.2945, allocations: 91.27 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2945, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000217/0.2947, allocations: 8 kB / 0.9842 GB, free: 22.78 MB / 0.6198 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 7.987e-05/0.2948, allocations: 103.2 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.295, allocations: 39.97 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.295, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.295, allocations: 23.92 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2953, allocations: 3.938 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2956, allocations: 188.2 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2958, allocations: 0.6926 MB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.2958, allocations: 4 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2958, allocations: 11.44 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2958, allocations: 0 / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.002322/0.2982, allocations: 0.5911 MB / 0.9858 GB, free: 21.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)