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.001595/0.001595, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001521/0.001522, allocations: 184 kB / 17.22 MB, free: 5.934 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.709/1.709, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.942/1.942, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001441/0.001441, allocations: 67.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2557, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0021/0.2579, allocations: 0.7045 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.259, allocations: 0.8398 MB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.259, allocations: 0 / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.2591, allocations: 3.938 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.2592, allocations: 15.88 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2594, allocations: 27.95 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.2595, allocations: 55.84 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2596, allocations: 16 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.2597, allocations: 35.84 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.2598, allocations: 19.86 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2598, allocations: 12 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.2598, allocations: 4 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.2599, allocations: 19.92 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.2599, allocations: 23.86 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.26, allocations: 79.92 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.26, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.26, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.26, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 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.0004896/0.2605, allocations: 355.3 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2606, allocations: 19.97 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2606, allocations: 12.83 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.2609, allocations: 192.1 kB / 0.7864 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2609, allocations: 4.375 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2609, allocations: 8.375 kB / 0.7864 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2611, allocations: 58.22 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2611, allocations: 192 / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2611, allocations: 3.938 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2611, allocations: 0 / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.2612, allocations: 35.92 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.2617, allocations: 296.8 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.262, allocations: 66.59 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.262, allocations: 24.94 kB / 0.7869 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.262, allocations: 4 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2621, allocations: 38.5 kB / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2621, allocations: 0 / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002661/0.2623, allocations: 69.58 kB / 0.787 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2624, allocations: 51.41 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.2625, allocations: 125.8 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2625, allocations: 25.7 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.2626, allocations: 96.05 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.2626, allocations: 11.84 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.2627, allocations: 25.64 kB / 0.7873 GB, free: 264 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5283/0.791, allocations: 314.6 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.7912, allocations: 14.16 kB / 0.7877 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.7913, allocations: 34.02 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.7915, allocations: 28.91 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7915, allocations: 0 / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002059/0.7917, allocations: 65.08 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.7917, allocations: 9.406 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7917, allocations: 0 / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.7918, allocations: 1.906 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.7919, allocations: 5.906 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7919, allocations: 0 / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.792, allocations: 8.25 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.792, allocations: 0 / 0.7878 GB, free: 48.41 MB / 0.6544 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.7921, allocations: 119 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.7921, allocations: 11.08 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.7922, allocations: 7.156 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7922, allocations: 0 / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.7922, allocations: 6.562 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7922, allocations: 1.172 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.7924, allocations: 174.3 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7925, allocations: 2.781 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.7925, allocations: 3.75 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7925, allocations: 4.062 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7925, allocations: 3.234 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7925, allocations: 0 / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7925, allocations: 7.312 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.7927, allocations: 156.1 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.7928, allocations: 79.77 kB / 0.7883 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.7928, allocations: 7.312 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.7929, allocations: 2.625 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.7929, allocations: 17.33 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.7929, allocations: 5.766 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.793, allocations: 98.42 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.793, allocations: 4.656 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002373/0.7933, allocations: 9.125 kB / 0.7885 GB, free: 47.8 MB / 0.6544 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 (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.0001586/0.7934, allocations: 95.84 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.7936, allocations: 35.81 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7936, allocations: 2.625 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.7937, allocations: 16.97 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.794, allocations: 6.719 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.7945, allocations: 162 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.7947, allocations: 0.6849 MB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.7947, allocations: 6.281 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.7947, allocations: 11.47 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7948, allocations: 2.969 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.003243/0.798, allocations: 0.6979 MB / 0.7902 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)