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.519/1.519, allocations: 252 MB / 267.6 MB, free: 10.93 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.00105/0.00105, allocations: 180.6 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0009644/0.0009644, allocations: 78.36 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 9.188 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2048, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001391/0.2063, allocations: 1.117 MB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.2066, allocations: 156.5 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.2067, allocations: 0 / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2067, allocations: 3.938 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.2068, allocations: 11.92 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.207, allocations: 11.98 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.2071, allocations: 51.8 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2072, allocations: 27.89 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.2073, allocations: 19.92 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.2074, allocations: 19.92 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2074, allocations: 0 / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2074, allocations: 4 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2074, allocations: 7.938 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.2074, allocations: 33.7 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.2075, allocations: 47.88 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2075, allocations: 0 / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2075, allocations: 0 / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.2075, allocations: 4 kB / 0.9023 GB, free: 62.41 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.0004024/0.208, allocations: 367.3 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.208, allocations: 12.03 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.208, allocations: 3.906 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2083, allocations: 191 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2083, allocations: 4 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2083, allocations: 4 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.2084, allocations: 57.67 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2085, allocations: 4 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2085, allocations: 0 / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2085, allocations: 0 / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/0.2086, allocations: 39.91 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.209, allocations: 308.7 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2092, allocations: 86.52 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.2093, allocations: 20.92 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2093, allocations: 3.938 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2093, allocations: 34.64 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2094, allocations: 3.938 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002462/0.2096, allocations: 81.58 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.2097, allocations: 55.36 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.2097, allocations: 125.7 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2098, allocations: 29.7 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.2098, allocations: 92.12 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2098, allocations: 3.906 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2098, allocations: 0 / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.2099, allocations: 322.8 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.21, allocations: 16 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.21, allocations: 37.64 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.2101, allocations: 11.98 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2101, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.2102, allocations: 73.62 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2102, allocations: 4 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2103, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2103, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.2103, allocations: 7.984 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.2104, allocations: 7.953 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2104, allocations: 15.98 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2104, allocations: 0 / 0.9042 GB, free: 60.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.2105, allocations: 121.8 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.2105, allocations: 7.906 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2106, allocations: 4.234 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2106, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2106, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2106, allocations: 7.938 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.2108, allocations: 177.6 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2108, allocations: 0 / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.2109, allocations: 4 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2109, allocations: 7.984 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2109, allocations: 8 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2109, allocations: 0 / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2109, allocations: 3.984 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2111, allocations: 159.5 kB / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.2111, allocations: 81.02 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.2111, allocations: 4 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.2112, allocations: 19.86 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2113, allocations: 11.98 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.2113, allocations: 0 / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.2113, allocations: 91.27 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2113, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002051/0.2115, allocations: 15.88 kB / 0.9049 GB, free: 59.39 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 (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 9.201e-05/0.2116, allocations: 103.2 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.2118, allocations: 35.98 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2118, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.2119, allocations: 19.92 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2121, allocations: 11.95 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.2125, allocations: 214.2 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2126, allocations: 0.6848 MB / 0.906 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2126, allocations: 15.42 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2126, allocations: 0 / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.001933/0.2146, allocations: 0.8282 MB / 0.9068 GB, free: 57.42 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)