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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 193.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.762 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.881/1.881, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001324/0.001324, allocations: 62.75 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2467, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002595/0.2493, allocations: 0.7775 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2505, allocations: 0.8409 MB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.2506, allocations: 0 / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.2507, allocations: 0 / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2508, allocations: 15.86 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.251, allocations: 27.97 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2512, allocations: 51.8 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2513, allocations: 19.98 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2514, allocations: 15.94 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2515, allocations: 31.89 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2516, allocations: 4 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.2516, allocations: 0 / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.2516, allocations: 7.938 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2517, allocations: 23.86 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2518, allocations: 67.98 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2518, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2518, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2518, allocations: 0 / 0.7845 GB, free: 12.11 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.0006253/0.2525, allocations: 367.3 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.2525, allocations: 12.03 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.2526, allocations: 4.844 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2529, allocations: 192.2 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.253, allocations: 12.38 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.253, allocations: 384 / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2532, allocations: 58.23 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2532, allocations: 192 / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2532, allocations: 3.938 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2532, allocations: 0 / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2533, allocations: 31.92 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2539, allocations: 308.7 kB / 0.7854 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.2542, allocations: 66.53 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.2542, allocations: 20.94 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2543, allocations: 11.94 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2543, allocations: 30.56 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2543, allocations: 0 / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002756/0.2546, allocations: 65.67 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2546, allocations: 51.41 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2548, allocations: 129.7 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2548, allocations: 29.7 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.2549, allocations: 96.05 kB / 0.7859 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.2549, allocations: 11.83 kB / 0.7859 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.2549, allocations: 17.72 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2551, allocations: 326.8 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.2551, allocations: 12 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.2552, allocations: 29.64 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.2553, allocations: 33.16 kB / 0.7863 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2553, allocations: 0 / 0.7863 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001629/0.2555, allocations: 65.66 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2555, allocations: 10.03 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2555, allocations: 0 / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2556, allocations: 0 / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.2556, allocations: 8 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2556, allocations: 4 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.2557, allocations: 15.83 kB / 0.7864 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2557, allocations: 8 kB / 0.7864 GB, free: 9.883 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.2558, allocations: 117.8 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.2559, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.2559, allocations: 11.89 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2559, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2559, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2559, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.2561, allocations: 181.6 kB / 0.7867 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2561, allocations: 0 / 0.7867 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.2562, allocations: 8 kB / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2562, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2562, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2562, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2562, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.2564, allocations: 163.3 kB / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.2565, allocations: 81.02 kB / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2565, allocations: 7.984 kB / 0.787 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.2566, allocations: 12 kB / 0.787 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2567, allocations: 15.86 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2567, allocations: 0 / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.2568, allocations: 91.27 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2568, allocations: 0 / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.257, allocations: 8 kB / 0.7871 GB, free: 9.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.2571, allocations: 99.25 kB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.2573, allocations: 39.97 kB / 0.7872 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2573, allocations: 0 / 0.7872 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.2574, allocations: 23.92 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.2578, allocations: 7.172 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.2582, allocations: 173.5 kB / 0.7874 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2585, allocations: 0.6848 MB / 0.7881 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.2586, allocations: 7.984 kB / 0.7881 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.2586, allocations: 7.438 kB / 0.7881 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.2586, allocations: 0 / 0.7881 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.003188/0.2618, allocations: 0.6057 MB / 0.7887 GB, free: 7.402 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (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)