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.0009285/0.0009283, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009621/0.0009621, allocations: 177.3 kB / 15.94 MB, free: 228 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.449 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.682/1.682, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0006439/0.000644, allocations: 15.56 kB / 0.6735 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2494, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008475/0.2503, allocations: 429.5 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2514, allocations: 0.8411 MB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.2514, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.2514, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.2515, allocations: 15.92 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.2517, allocations: 11.98 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.2518, allocations: 35.95 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.2519, allocations: 11.98 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.2519, allocations: 19.92 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.252, allocations: 27.84 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.252, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2521, allocations: 4 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2521, allocations: 8 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.2521, allocations: 33.64 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.776e-05/0.2522, allocations: 52.11 kB / 0.7885 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2522, allocations: 3.938 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2522, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2522, allocations: 0 / 0.7886 GB, free: 10.47 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.0004418/0.2527, allocations: 359.2 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2527, allocations: 8.031 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.2528, allocations: 4 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.253, allocations: 202.8 kB / 0.7891 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2531, allocations: 0 / 0.7891 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2531, allocations: 8 kB / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.2532, allocations: 61.61 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.2532, allocations: 0 / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2532, allocations: 4 kB / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2533, allocations: 0 / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.2534, allocations: 35.97 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.2538, allocations: 300.7 kB / 0.7895 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.2541, allocations: 90.39 kB / 0.7896 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2541, allocations: 4 kB / 0.7896 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2541, allocations: 38.62 kB / 0.7896 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2541, allocations: 0 / 0.7896 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002488/0.2544, allocations: 69.77 kB / 0.7897 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2544, allocations: 55.34 kB / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2545, allocations: 133.7 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2546, allocations: 25.7 kB / 0.7899 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.2546, allocations: 96.05 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2546, allocations: 11.97 kB / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2546, allocations: 0 / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2548, allocations: 318.8 kB / 0.7903 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.2548, allocations: 15.98 kB / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.2549, allocations: 33.7 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.2549, allocations: 19.94 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.255, allocations: 0 / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.2551, allocations: 69.58 kB / 0.7904 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2551, allocations: 4 kB / 0.7904 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2551, allocations: 0 / 0.7904 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2551, allocations: 8.031 kB / 0.7904 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.2552, allocations: 7.938 kB / 0.7904 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2552, allocations: 0 / 0.7904 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.2553, allocations: 15.92 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2553, allocations: 3.953 kB / 0.7905 GB, free: 8.285 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.099e-05/0.2554, allocations: 113.8 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2554, allocations: 8 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.2554, allocations: 11.89 kB / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2554, allocations: 4 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2555, allocations: 0 / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2555, allocations: 0 / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2556, allocations: 177.6 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2557, allocations: 4 kB / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.2557, allocations: 12 kB / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2557, allocations: 0 / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.2557, allocations: 0 / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2557, allocations: 0 / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2557, allocations: 4 kB / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.2559, allocations: 167.3 kB / 0.7909 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.256, allocations: 81.02 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.256, allocations: 7.984 kB / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.2561, allocations: 8 kB / 0.791 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2561, allocations: 8.359 kB / 0.791 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2561, allocations: 3.938 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.2562, allocations: 99.27 kB / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2562, allocations: 0 / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002077/0.2564, allocations: 8 kB / 0.7912 GB, free: 7.48 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 9.477e-05/0.2565, allocations: 99.23 kB / 0.7912 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.2566, allocations: 43.91 kB / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2567, allocations: 0 / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.2567, allocations: 23.92 kB / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.2569, allocations: 11.95 kB / 0.7913 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.2572, allocations: 176.7 kB / 0.7915 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.2575, allocations: 0.6887 MB / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.2576, allocations: 3.984 kB / 0.7922 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.2576, allocations: 11.44 kB / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2576, allocations: 4 kB / 0.7922 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.002694/0.2603, allocations: 0.5824 MB / 0.7928 GB, free: 5.785 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: