Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007214/0.0007215, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007592/0.0007592, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005526/0.0005526, allocations: 18.19 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2262, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008503/0.2271, allocations: 433.4 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.228, allocations: 0.8371 MB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.2281, allocations: 3.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.2281, allocations: 3.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.677e-05/0.2282, allocations: 11.94 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.2283, allocations: 15.98 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.2284, allocations: 55.78 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2285, allocations: 11.98 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.2286, allocations: 19.92 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.2287, allocations: 23.86 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2287, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2287, allocations: 8 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.2287, allocations: 11.92 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.2288, allocations: 33.64 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.786e-05/0.2289, allocations: 52.11 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2289, allocations: 0 / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2289, allocations: 0 / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2289, allocations: 0 / 0.7887 GB, free: 10.43 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.0004367/0.2293, allocations: 363.1 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2294, allocations: 12.03 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.2294, allocations: 4 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2296, allocations: 194.8 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2297, allocations: 4 kB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.2297, allocations: 0 / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2298, allocations: 65.66 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.2298, allocations: 0 / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2299, allocations: 7.938 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2299, allocations: 4 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.23, allocations: 31.98 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.2304, allocations: 304.7 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2306, allocations: 82.47 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.2307, allocations: 25 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2307, allocations: 0 / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2307, allocations: 30.56 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.2307, allocations: 0 / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.00024/0.231, allocations: 81.67 kB / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.231, allocations: 51.41 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2311, allocations: 129.7 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2312, allocations: 25.7 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2312, allocations: 92.05 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2312, allocations: 11.89 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.2312, allocations: 3.938 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2313, allocations: 318.8 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.2314, allocations: 19.98 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.2315, allocations: 33.64 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.2315, allocations: 12 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2315, allocations: 4 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.2317, allocations: 69.58 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2317, allocations: 8.031 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2317, allocations: 0 / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2317, allocations: 0 / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.2318, allocations: 11.94 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2318, allocations: 0 / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.2318, allocations: 19.88 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2318, allocations: 0 / 0.7907 GB, free: 8.227 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.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 8.739e-05/0.2319, allocations: 117.8 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.232, allocations: 7.984 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.232, allocations: 7.906 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.232, allocations: 0 / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.232, allocations: 4 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.232, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2322, allocations: 173.6 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2322, allocations: 0 / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.2322, allocations: 8 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2323, allocations: 4.328 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2323, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2323, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2323, allocations: 4 kB / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.2324, allocations: 171.3 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.2325, allocations: 89 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2325, allocations: 4 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.2326, allocations: 8 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.2326, allocations: 7.984 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2327, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.2327, allocations: 103.6 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2327, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002066/0.2329, allocations: 4 kB / 0.7914 GB, free: 7.426 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 (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.942e-05/0.233, allocations: 103.2 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.2332, allocations: 35.98 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2332, allocations: 0 / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.2333, allocations: 23.92 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2335, allocations: 14.67 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.2339, allocations: 176.7 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.2341, allocations: 0.6848 MB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.2342, allocations: 11.94 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2342, allocations: 15.42 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2342, allocations: 0 / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.002434/0.2366, allocations: 0.5839 MB / 0.793 GB, free: 5.727 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) Environment - environmentSimulation: