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.0007551/0.000755, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005684/0.005684, allocations: 172 kB / 16.27 MB, free: 6.66 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.635/1.635, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.844/1.844, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0005558/0.0005558, allocations: 13.78 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3133, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001213/0.3146, allocations: 441.3 kB / 0.7883 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3158, allocations: 0.8409 MB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3159, allocations: 0 / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.316, allocations: 0 / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3161, allocations: 11.81 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.3163, allocations: 27.97 kB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3165, allocations: 55.84 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3166, allocations: 16 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3168, allocations: 19.92 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.3169, allocations: 27.84 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3169, allocations: 0 / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3169, allocations: 0 / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.317, allocations: 11.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.317, allocations: 45.52 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3172, allocations: 64.03 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3172, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3172, allocations: 7.938 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3172, allocations: 0 / 0.7894 GB, free: 10.04 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.0005758/0.3178, allocations: 359.3 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3178, allocations: 12.03 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.3179, allocations: 0.9375 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3182, allocations: 200.2 kB / 0.7899 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3183, allocations: 4.375 kB / 0.7899 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3183, allocations: 4.375 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3185, allocations: 58.23 kB / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3185, allocations: 192 / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3185, allocations: 3.938 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3185, allocations: 0 / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3187, allocations: 39.92 kB / 0.79 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.3192, allocations: 304.7 kB / 0.7903 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.3195, allocations: 90.53 kB / 0.7904 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.3196, allocations: 20.94 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3196, allocations: 4 kB / 0.7904 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3197, allocations: 30.56 kB / 0.7905 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3197, allocations: 0 / 0.7905 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000307/0.32, allocations: 77.77 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.32, allocations: 51.41 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3202, allocations: 129.8 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3202, allocations: 29.7 kB / 0.7908 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.3203, allocations: 88.14 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3203, allocations: 11.83 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3203, allocations: 21.66 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3205, allocations: 314.8 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.3206, allocations: 19.98 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3206, allocations: 41.69 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.3207, allocations: 32.78 kB / 0.7913 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3208, allocations: 3.938 kB / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.3209, allocations: 65.59 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3209, allocations: 11.98 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3209, allocations: 4.031 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.321, allocations: 0 / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.321, allocations: 7.938 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.321, allocations: 3.984 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.3211, allocations: 15.98 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3211, allocations: 0 / 0.7914 GB, free: 7.789 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 8.611e-05/0.3212, allocations: 121.8 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3212, allocations: 3.906 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.3213, allocations: 11.91 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3213, allocations: 0 / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3213, allocations: 3.984 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3213, allocations: 0 / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.3215, allocations: 181.6 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3215, allocations: 0 / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.3215, allocations: 7.984 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3216, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3216, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3216, allocations: 8 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3216, allocations: 0 / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3218, allocations: 159.4 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3218, allocations: 85.02 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3218, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.3219, allocations: 15.98 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.322, allocations: 7.984 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.322, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.322, allocations: 95.27 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3221, allocations: 0 / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002131/0.3223, allocations: 8 kB / 0.792 GB, free: 6.992 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.0001123/0.3224, allocations: 95.25 kB / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.3226, allocations: 47.91 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3226, allocations: 0 / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.3226, allocations: 19.94 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3229, allocations: 14.19 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3233, allocations: 192.4 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3236, allocations: 0.6813 MB / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.747e-05/0.3236, allocations: 11.97 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3236, allocations: 7.438 kB / 0.7931 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.3236, allocations: 7.938 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.002883/0.3265, allocations: 0.5936 MB / 0.7937 GB, free: 5.273 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: