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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 292.3 MB / 308.1 MB, free: 4.344 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.001484/0.001484, allocations: 194.4 kB / 376.9 MB, free: 1.82 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.128/2.128, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 94.53 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 43.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002288/0.2853, allocations: 0.7739 MB / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2865, allocations: 0.8399 MB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.2866, allocations: 0 / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.2867, allocations: 3.938 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.2868, allocations: 7.922 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.287, allocations: 19.97 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.2871, allocations: 55.8 kB / 0.9839 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2872, allocations: 23.98 kB / 0.9839 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2873, allocations: 19.92 kB / 0.9839 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.2874, allocations: 31.78 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2874, allocations: 4 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.2875, allocations: 4 kB / 0.984 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2875, allocations: 4 kB / 0.984 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.2875, allocations: 23.86 kB / 0.984 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2877, allocations: 71.98 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2877, allocations: 0 / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2877, allocations: 0 / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2877, allocations: 0 / 0.984 GB, free: 8.508 MB / 0.7136 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.0005436/0.2882, allocations: 367.3 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2883, allocations: 12.03 kB / 0.9844 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.2883, allocations: 8.844 kB / 0.9844 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2886, allocations: 192.2 kB / 0.9846 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2886, allocations: 4.375 kB / 0.9846 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2887, allocations: 4.375 kB / 0.9846 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.2888, allocations: 62.16 kB / 0.9847 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2888, allocations: 192 / 0.9847 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2889, allocations: 7.938 kB / 0.9847 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2889, allocations: 0 / 0.9847 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.289, allocations: 23.98 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.2895, allocations: 308.7 kB / 0.985 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.2897, allocations: 70.47 kB / 0.9851 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.2898, allocations: 21 kB / 0.9851 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2898, allocations: 7.938 kB / 0.9851 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2899, allocations: 34.5 kB / 0.9851 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2899, allocations: 0 / 0.9851 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002696/0.2901, allocations: 69.8 kB / 0.9852 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2902, allocations: 63.33 kB / 0.9852 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.2903, allocations: 121.8 kB / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2903, allocations: 29.7 kB / 0.9854 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.2904, allocations: 96.03 kB / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2904, allocations: 15.84 kB / 0.9855 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.2905, allocations: 13.72 kB / 0.9855 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2906, allocations: 322.8 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.2907, allocations: 12 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.2908, allocations: 29.7 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.2909, allocations: 32.88 kB / 0.9859 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2909, allocations: 0 / 0.9859 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.291, allocations: 69.52 kB / 0.986 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.291, allocations: 9.562 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2911, allocations: 0 / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2911, allocations: 0 / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.2911, allocations: 4 kB / 0.986 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2911, allocations: 0 / 0.986 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.2912, allocations: 15.98 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2912, allocations: 4 kB / 0.986 GB, free: 6.285 MB / 0.7136 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 9.811e-05/0.2913, allocations: 121.8 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.2914, allocations: 3.984 kB / 0.9861 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.2914, allocations: 11.91 kB / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2914, allocations: 0 / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2914, allocations: 0 / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2914, allocations: 0 / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.2916, allocations: 181.5 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2916, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.2917, allocations: 8 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2917, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2917, allocations: 3.938 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2917, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2917, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.2922, allocations: 0.7278 MB / 0.987 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.2922, allocations: 77.11 kB / 0.9871 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2923, allocations: 7.938 kB / 0.9871 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.2923, allocations: 3.984 kB / 0.9871 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.2924, allocations: 11.92 kB / 0.9871 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2924, allocations: 8 kB / 0.9871 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.2925, allocations: 95.2 kB / 0.9872 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2925, allocations: 0 / 0.9872 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003246/0.2928, allocations: 8 kB / 0.9872 GB, free: 4.883 MB / 0.7136 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.000117/0.2929, allocations: 99.25 kB / 0.9873 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.2931, allocations: 32.22 kB / 0.9873 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2931, allocations: 0 / 0.9873 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.2932, allocations: 19.92 kB / 0.9874 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2935, allocations: 8 kB / 0.9874 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.2939, allocations: 292.5 kB / 0.9877 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2942, allocations: 0.6809 MB / 0.9883 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.2943, allocations: 15.97 kB / 0.9883 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2943, allocations: 11.44 kB / 0.9883 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2943, allocations: 0 / 0.9883 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.002909/0.2972, allocations: 0.6333 MB / 0.989 GB, free: 3.031 MB / 0.7136 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)