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_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 252 MB / 267.6 MB, free: 10.91 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.001164/0.001164, allocations: 178.3 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 1.641/1.641, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.0008416/0.0008415, allocations: 95.78 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8.938 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001483/0.2023, allocations: 1.117 MB / 0.9019 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.2027, allocations: 156.5 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.2027, allocations: 0 / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.2027, allocations: 3.938 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.2028, allocations: 11.92 kB / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.203, allocations: 15.97 kB / 0.9021 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.2031, allocations: 51.8 kB / 0.9022 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2032, allocations: 19.92 kB / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.2033, allocations: 23.91 kB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.2034, allocations: 23.86 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2034, allocations: 0 / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2034, allocations: 4 kB / 0.9022 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.2034, allocations: 4 kB / 0.9022 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2035, allocations: 37.64 kB / 0.9023 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.874e-05/0.2035, allocations: 47.89 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2036, allocations: 0 / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2036, allocations: 0 / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2036, allocations: 0 / 0.9023 GB, free: 62.76 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.0004262/0.204, allocations: 359.4 kB / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.204, allocations: 12.03 kB / 0.9027 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2041, allocations: 7.906 kB / 0.9027 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.2043, allocations: 194.9 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2043, allocations: 8 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2044, allocations: 4 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2045, allocations: 57.67 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2045, allocations: 0 / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2046, allocations: 11.94 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2046, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2047, allocations: 39.91 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.2051, allocations: 304.7 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2053, allocations: 82.47 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.2054, allocations: 20.92 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2054, allocations: 0 / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2054, allocations: 38.64 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2054, allocations: 0 / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002419/0.2057, allocations: 73.58 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2057, allocations: 59.36 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.2058, allocations: 133.6 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2058, allocations: 29.7 kB / 0.9037 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.2059, allocations: 92.12 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.2059, allocations: 7.906 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2059, allocations: 4 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.2059, allocations: 314.8 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.206, allocations: 16 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.2061, allocations: 33.7 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.2061, allocations: 15.98 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2061, allocations: 0 / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.2063, allocations: 65.88 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2063, allocations: 8.031 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2063, allocations: 0 / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2063, allocations: 8.031 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.2064, allocations: 15.92 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2064, allocations: 3.953 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.2065, allocations: 11.98 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2065, allocations: 8 kB / 0.9043 GB, free: 60.54 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.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 6.426e-05/0.2065, allocations: 113.8 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.2066, allocations: 7.906 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.2066, allocations: 3.906 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2066, allocations: 4 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2066, allocations: 0 / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2066, allocations: 3.953 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.2067, allocations: 177.7 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2068, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.2068, allocations: 11.98 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2068, allocations: 0 / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2068, allocations: 4 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2068, allocations: 0 / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2068, allocations: 0 / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.207, allocations: 163.4 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.207, allocations: 81.02 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.207, allocations: 7.938 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.2071, allocations: 15.92 kB / 0.9048 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.2072, allocations: 11.98 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2072, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.2072, allocations: 95.27 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2072, allocations: 0 / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001997/0.2074, allocations: 11.94 kB / 0.9049 GB, free: 59.73 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 (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 9.295e-05/0.2075, allocations: 103.2 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.2077, allocations: 35.97 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2077, allocations: 0 / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.2077, allocations: 19.94 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.208, allocations: 8.641 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.2083, allocations: 216 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2084, allocations: 0.6848 MB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.2085, allocations: 15.42 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2085, allocations: 0 / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.00185/0.2103, allocations: 0.8426 MB / 0.9068 GB, free: 57.75 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)