Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.629/2.629, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 169.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 85.05 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007927/0.0007927, allocations: 10.81 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2171, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001341/0.2185, allocations: 429.7 kB / 0.9792 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2204, allocations: 0.8331 MB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.2205, allocations: 0 / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.2205, allocations: 7.922 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2207, allocations: 7.984 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.2209, allocations: 19.97 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.221, allocations: 31.91 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2212, allocations: 19.97 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2214, allocations: 15.94 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2215, allocations: 23.91 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2216, allocations: 0 / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.2216, allocations: 4 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.2217, allocations: 15.86 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.2217, allocations: 29.7 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2219, allocations: 52.11 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2219, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.816e-06/0.222, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.222, allocations: 3.938 kB / 0.9802 GB, free: 26.71 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.0006892/0.2227, allocations: 359.2 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.2228, allocations: 16.02 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.68e-05/0.2229, allocations: 4 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.2233, allocations: 202.7 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2234, allocations: 4 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.2234, allocations: 4 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2237, allocations: 61.66 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2238, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2238, allocations: 8 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-06/0.2238, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.2241, allocations: 31.98 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.2249, allocations: 304.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.2256, allocations: 90.52 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2256, allocations: 0 / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2257, allocations: 34.56 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.579e-06/0.2257, allocations: 0 / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005774/0.2263, allocations: 77.77 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2264, allocations: 63.36 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2266, allocations: 117.8 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2266, allocations: 29.69 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.2267, allocations: 96.05 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2268, allocations: 3.906 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-06/0.2268, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.2269, allocations: 322.8 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2271, allocations: 16 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2273, allocations: 29.7 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2274, allocations: 15.98 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.289e-06/0.2275, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003779/0.2278, allocations: 77.5 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.2279, allocations: 11.98 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-06/0.2279, allocations: 0 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.228, allocations: 0 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2281, allocations: 4 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2281, allocations: 0 / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2283, allocations: 23.88 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2284, allocations: 4 kB / 0.9821 GB, free: 24.52 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.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 0.0001339/0.2285, allocations: 117.8 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.2286, allocations: 336 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.2287, allocations: 11.91 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.73e-06/0.2287, allocations: 3.984 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.988e-06/0.2288, allocations: 3.984 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.581e-06/0.2288, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.2292, allocations: 173.6 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-06/0.2292, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2294, allocations: 15.92 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-06/0.2294, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2294, allocations: 4 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.684e-06/0.2294, allocations: 4 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.189e-06/0.2295, allocations: 0 / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.2299, allocations: 159.4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.2299, allocations: 89.02 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.23, allocations: 0 / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2303, allocations: 11.98 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.2304, allocations: 3.984 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-06/0.2304, allocations: 4 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.2304, allocations: 95.27 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.94e-07/0.2305, allocations: 0 / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000296/0.2308, allocations: 8 kB / 0.9828 GB, free: 23.73 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 (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 8.189e-05/0.2309, allocations: 99.25 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.2311, allocations: 43.91 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.351e-06/0.2311, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.2311, allocations: 19.94 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2314, allocations: 18.33 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.2317, allocations: 176.7 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2319, allocations: 0.6887 MB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.232, allocations: 8 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.232, allocations: 11.42 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.311e-06/0.232, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.003031/0.2351, allocations: 0.5858 MB / 0.9844 GB, free: 22.03 MB / 0.6198 GB