Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.762/2.762, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.002355/0.002355, allocations: 179.5 kB / 370.8 MB, free: 10.84 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.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001149/0.001149, allocations: 86.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005062, allocations: 15.72 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3075, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001204/0.3088, allocations: 429.7 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3103, allocations: 0.8331 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3104, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3104, allocations: 7.922 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3106, allocations: 7.984 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3108, allocations: 15.97 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3109, allocations: 39.89 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.311, allocations: 15.98 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3112, allocations: 15.94 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.3113, allocations: 27.89 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3113, allocations: 0 / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.3114, allocations: 4 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3114, allocations: 7.938 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.3114, allocations: 29.7 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3116, allocations: 52.11 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3116, allocations: 4 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3116, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3116, allocations: 0 / 0.9796 GB, free: 26.89 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.0006134/0.3122, allocations: 355.2 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3123, allocations: 19.95 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.3124, allocations: 4 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.3127, allocations: 206.8 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3128, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3128, allocations: 8 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3131, allocations: 57.67 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3131, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3131, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3131, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.3133, allocations: 35.98 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.314, allocations: 300.7 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.3145, allocations: 90.58 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3146, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3146, allocations: 38.56 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.195e-06/0.3146, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004353/0.3151, allocations: 73.89 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3151, allocations: 63.36 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3153, allocations: 117.8 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3153, allocations: 33.69 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.3154, allocations: 99.98 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3154, allocations: 7.906 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.3154, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.3155, allocations: 318.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3157, allocations: 16 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3158, allocations: 33.69 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3159, allocations: 20.02 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.316, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002819/0.3163, allocations: 69.53 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3163, allocations: 11.98 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3163, allocations: 3.938 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3163, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3165, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3165, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3166, allocations: 19.88 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3167, allocations: 4 kB / 0.9816 GB, free: 24.7 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.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3168, allocations: 113.8 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3168, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.3169, allocations: 11.91 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3169, allocations: 0 / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3169, allocations: 11.98 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3169, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3172, allocations: 177.7 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3173, allocations: 0 / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.3174, allocations: 15.92 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3174, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3174, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3174, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3174, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3177, allocations: 163.4 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3178, allocations: 85.02 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3178, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.318, allocations: 7.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.3181, allocations: 7.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3181, allocations: 4 kB / 0.9821 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.492e-05/0.3182, allocations: 99.27 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-07/0.3182, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005113/0.3188, allocations: 8 kB / 0.9822 GB, free: 23.91 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 (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 (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 0.000137/0.3189, allocations: 95.25 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3192, allocations: 39.91 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3192, allocations: 0 / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3194, allocations: 20 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.3198, allocations: 21.12 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.3203, allocations: 180.6 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.3205, allocations: 0.6887 MB / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.361e-05/0.3206, allocations: 4.375 kB / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.3207, allocations: 15.42 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.3207, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.004326/0.325, allocations: 0.579 MB / 0.9838 GB, free: 22.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)