Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 171.9 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 0.5786 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007984/0.0007985, allocations: 92.23 kB / 0.6832 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 10.03 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2254, allocations: 106.3 MB / 0.9014 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002065/0.2275, allocations: 1.136 MB / 0.9026 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004732/0.228, allocations: 160.4 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.2281, allocations: 4 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.2281, allocations: 3.938 kB / 0.9027 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2282, allocations: 7.875 kB / 0.9027 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2285, allocations: 23.97 kB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2286, allocations: 55.78 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2287, allocations: 12 kB / 0.9028 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2289, allocations: 19.92 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.229, allocations: 27.84 kB / 0.9029 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.229, allocations: 0 / 0.9029 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.229, allocations: 4 kB / 0.9029 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.2291, allocations: 11.98 kB / 0.9029 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.2291, allocations: 49.52 kB / 0.9029 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.2292, allocations: 43.89 kB / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2293, allocations: 0 / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2293, allocations: 0 / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2293, allocations: 0 / 0.903 GB, free: 62.31 MB / 0.6042 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.00052/0.2298, allocations: 367.5 kB / 0.9033 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2299, allocations: 15.97 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.2299, allocations: 8.844 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2302, allocations: 192.3 kB / 0.9035 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2302, allocations: 4.375 kB / 0.9035 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2303, allocations: 4.375 kB / 0.9035 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.2305, allocations: 58.23 kB / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2305, allocations: 192 / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.2305, allocations: 7.938 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2305, allocations: 0 / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2307, allocations: 39.91 kB / 0.9036 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2312, allocations: 300.7 kB / 0.9039 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.2315, allocations: 86.52 kB / 0.904 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.2316, allocations: 24.92 kB / 0.904 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2317, allocations: 0 / 0.904 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2317, allocations: 34.59 kB / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2317, allocations: 0 / 0.9041 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003312/0.232, allocations: 81.64 kB / 0.9041 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2321, allocations: 55.41 kB / 0.9042 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.2322, allocations: 125.7 kB / 0.9043 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2322, allocations: 29.7 kB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.2323, allocations: 96.03 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2323, allocations: 7.969 kB / 0.9044 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.2323, allocations: 3.938 kB / 0.9044 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.2324, allocations: 326.8 kB / 0.9047 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.2325, allocations: 16 kB / 0.9048 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/0.2326, allocations: 37.64 kB / 0.9048 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2327, allocations: 36.78 kB / 0.9048 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2327, allocations: 0 / 0.9048 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001742/0.2329, allocations: 69.7 kB / 0.9049 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2329, allocations: 6.656 kB / 0.9049 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.233, allocations: 3.984 kB / 0.9049 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.233, allocations: 4 kB / 0.9049 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.2331, allocations: 4 kB / 0.9049 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2331, allocations: 0 / 0.9049 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.2332, allocations: 15.89 kB / 0.9049 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2332, allocations: 3.938 kB / 0.9049 GB, free: 60.06 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.2333, allocations: 121.8 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2333, allocations: 4 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.2334, allocations: 11.89 kB / 0.9051 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.2334, allocations: 4 kB / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2334, allocations: 0 / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2334, allocations: 0 / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2336, allocations: 173.6 kB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2336, allocations: 0 / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.2337, allocations: 8 kB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2337, allocations: 4 kB / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2337, allocations: 4 kB / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2337, allocations: 0 / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2337, allocations: 0 / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.2339, allocations: 167.3 kB / 0.9054 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.234, allocations: 81.02 kB / 0.9055 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.234, allocations: 11.98 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2341, allocations: 8 kB / 0.9055 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2342, allocations: 7.984 kB / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.2342, allocations: 0 / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.2343, allocations: 103.2 kB / 0.9056 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2343, allocations: 0 / 0.9056 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004061/0.2347, allocations: 11.94 kB / 0.9056 GB, free: 59.25 MB / 0.6042 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 (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.0001044/0.2348, allocations: 99.25 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.235, allocations: 36.34 kB / 0.9058 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.235, allocations: 4 kB / 0.9058 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.2351, allocations: 19.92 kB / 0.9058 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2356, allocations: 14.34 kB / 0.9058 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.236, allocations: 214.2 kB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2362, allocations: 0.6887 MB / 0.9067 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.2362, allocations: 7.438 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2362, allocations: 3.938 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.002701/0.239, allocations: 0.829 MB / 0.9075 GB, free: 57.28 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)