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.001273/0.001273, allocations: 108 kB / 15.61 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.001526/0.001526, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.857/1.857, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.878/1.878, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001514/0.001514, allocations: 73.25 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2864, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002114/0.2886, allocations: 0.705 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2897, allocations: 0.8516 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.2897, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.2898, allocations: 3.938 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.2899, allocations: 7.875 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.29, allocations: 27.89 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.2901, allocations: 55.86 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2903, allocations: 19.98 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.2904, allocations: 19.94 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.2905, allocations: 35.83 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2905, allocations: 8 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.2905, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2906, allocations: 7.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.2906, allocations: 35.8 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2908, allocations: 68.05 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2908, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2908, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2908, allocations: 0 / 0.7852 GB, free: 11.61 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.000513/0.2913, allocations: 371.2 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2914, allocations: 8.031 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2914, allocations: 8.844 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2917, allocations: 196.2 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2917, allocations: 8.375 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2918, allocations: 4.375 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.2919, allocations: 58.23 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2919, allocations: 192 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2919, allocations: 3.938 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2919, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.292, allocations: 31.92 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.2925, allocations: 304.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.2928, allocations: 70.47 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.2929, allocations: 21 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2929, allocations: 4 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2929, allocations: 34.56 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.2929, allocations: 0 / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002484/0.2932, allocations: 65.86 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2932, allocations: 51.41 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.2933, allocations: 121.8 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2934, allocations: 29.7 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.2934, allocations: 99.98 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2935, allocations: 11.83 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2935, allocations: 17.72 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2936, allocations: 326.8 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.2937, allocations: 12 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.2938, allocations: 29.69 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.2939, allocations: 36.88 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2939, allocations: 0 / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.294, allocations: 65.61 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.294, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.294, allocations: 4 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2941, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.2941, allocations: 7.938 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2941, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.2942, allocations: 11.89 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2942, allocations: 8 kB / 0.7871 GB, free: 9.395 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 9.338e-05/0.2943, allocations: 113.8 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.2943, allocations: 4 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2944, allocations: 11.89 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2944, allocations: 4 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2944, allocations: 0 / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2944, allocations: 3.938 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2946, allocations: 169.6 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2946, allocations: 7.984 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2947, allocations: 8 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2947, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2947, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2947, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2947, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.2949, allocations: 163.3 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.295, allocations: 85.02 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.295, allocations: 15.98 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.2951, allocations: 4 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2951, allocations: 3.984 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2951, allocations: 4 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.2952, allocations: 95.7 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2952, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002191/0.2954, allocations: 8 kB / 0.7878 GB, free: 8.605 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.0001015/0.2955, allocations: 99.25 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.2957, allocations: 39.91 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2957, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.2958, allocations: 19.94 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2961, allocations: 13.19 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.2965, allocations: 159.7 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2968, allocations: 0.6888 MB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.531e-05/0.2968, allocations: 7.984 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.2969, allocations: 11.42 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2969, allocations: 0 / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.003227/0.3001, allocations: 0.7057 MB / 0.7895 GB, free: 6.812 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)