Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.000833, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004644, allocations: 18.94 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00082/0.2231, allocations: 429.4 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.224, allocations: 0.8371 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.224, allocations: 4 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.2241, allocations: 7.922 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-05/0.2241, allocations: 7.938 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.2243, allocations: 19.98 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.2244, allocations: 55.78 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.2245, allocations: 15.97 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.2246, allocations: 19.92 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.2246, allocations: 19.92 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2246, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2247, allocations: 7.938 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2247, allocations: 11.98 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.2247, allocations: 33.64 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.814e-05/0.2248, allocations: 48.11 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2248, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2248, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.2248, allocations: 4 kB / 0.7887 GB, free: 10.4 MB / 0.6075 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.0003744/0.2252, allocations: 359.2 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2252, allocations: 15.97 kB / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.2253, allocations: 3.984 kB / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2255, allocations: 202.8 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2256, allocations: 0 / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2256, allocations: 4 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2257, allocations: 61.67 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2257, allocations: 7.984 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2257, allocations: 0 / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2257, allocations: 0 / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.2258, allocations: 35.92 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.2262, allocations: 300.7 kB / 0.7897 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2265, allocations: 86.53 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.2265, allocations: 24.94 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2265, allocations: 0 / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2266, allocations: 30.56 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.2266, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002221/0.2268, allocations: 81.67 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.2268, allocations: 51.41 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.2269, allocations: 129.7 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2269, allocations: 25.7 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.227, allocations: 92.05 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.227, allocations: 7.906 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.227, allocations: 3.938 kB / 0.7902 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.2271, allocations: 322.8 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.2272, allocations: 16 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.2272, allocations: 29.7 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.2273, allocations: 15.98 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2273, allocations: 0 / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.2274, allocations: 77.61 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2275, allocations: 4 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2275, allocations: 0 / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2275, allocations: 0 / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.2275, allocations: 8 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2276, allocations: 7.875 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.2276, allocations: 19.88 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2276, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.6075 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 8.006e-05/0.2277, allocations: 117.8 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2277, allocations: 4 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.2278, allocations: 8.234 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2278, allocations: 3.984 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2278, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2278, allocations: 3.984 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.228, allocations: 181.5 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.228, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.228, allocations: 7.984 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.228, allocations: 8 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.228, allocations: 0 / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.228, allocations: 0 / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.228, allocations: 0 / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2282, allocations: 167.3 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.2282, allocations: 85.02 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2283, allocations: 4 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.2283, allocations: 11.98 kB / 0.7913 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2284, allocations: 7.984 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2284, allocations: 0 / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.2284, allocations: 95.27 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2285, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002107/0.2287, allocations: 8 kB / 0.7914 GB, free: 7.395 MB / 0.6075 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 7.407e-05/0.2287, allocations: 99.25 kB / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2289, allocations: 39.97 kB / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2289, allocations: 0 / 0.7915 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.229, allocations: 19.94 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2292, allocations: 15.94 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2295, allocations: 176.7 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2297, allocations: 0.6887 MB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.2298, allocations: 8 kB / 0.7924 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.2298, allocations: 7.438 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2298, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Templates: time 0.002484/0.2323, allocations: 0.5916 MB / 0.793 GB, free: 5.699 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) Environment - environmentSimulation: