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.0009895/0.0009892, allocations: 99.94 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 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.509/1.509, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.623/1.623, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005115/0.0005116, allocations: 16.08 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2539, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.000868/0.2549, allocations: 437.4 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.2558, allocations: 0.8372 MB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.2558, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2559, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.256, allocations: 11.92 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.2561, allocations: 15.98 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.2562, allocations: 31.95 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2563, allocations: 19.98 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.2564, allocations: 23.91 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.2564, allocations: 19.86 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2565, allocations: 7.938 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.2565, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.2565, allocations: 4 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2565, allocations: 37.64 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.038e-05/0.2566, allocations: 52.09 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2566, allocations: 4 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2566, allocations: 7.938 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.2566, allocations: 0 / 0.7886 GB, free: 10.48 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.0004359/0.2571, allocations: 355.2 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2571, allocations: 8.031 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2571, allocations: 4 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2574, allocations: 206.8 kB / 0.7891 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2574, allocations: 0 / 0.7891 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2575, allocations: 4 kB / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2576, allocations: 61.61 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2576, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2576, allocations: 4 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2576, allocations: 0 / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/0.2577, allocations: 35.97 kB / 0.7892 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.2582, allocations: 304.7 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.2584, allocations: 86.47 kB / 0.7896 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2585, allocations: 0 / 0.7896 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2585, allocations: 34.62 kB / 0.7896 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.2585, allocations: 4 kB / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002295/0.2587, allocations: 73.77 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2588, allocations: 51.41 kB / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.2589, allocations: 133.7 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2589, allocations: 25.7 kB / 0.7899 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.259, allocations: 92.05 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.259, allocations: 11.89 kB / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.259, allocations: 8 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2591, allocations: 314.8 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.2592, allocations: 19.98 kB / 0.7903 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.2592, allocations: 29.7 kB / 0.7903 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.896e-05/0.2593, allocations: 16.28 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2593, allocations: 7.969 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.2595, allocations: 73.56 kB / 0.7904 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2595, allocations: 4 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2595, allocations: 3.984 kB / 0.7904 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2595, allocations: 0 / 0.7904 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.2596, allocations: 11.94 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2596, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.2596, allocations: 23.86 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2597, 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.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.2597, allocations: 113.8 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2598, allocations: 4 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.2598, allocations: 11.89 kB / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2598, allocations: 4 kB / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2598, allocations: 0 / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2598, allocations: 0 / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.26, allocations: 177.6 kB / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.26, allocations: 0 / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.2601, allocations: 8 kB / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2601, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2601, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2601, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2601, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.2603, allocations: 171.3 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.2603, allocations: 81.02 kB / 0.791 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2603, allocations: 11.98 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.2604, allocations: 4 kB / 0.791 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2605, allocations: 7.984 kB / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2605, allocations: 4 kB / 0.7911 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.2605, allocations: 95.27 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2606, allocations: 4 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002138/0.2608, allocations: 12 kB / 0.7912 GB, free: 7.488 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 (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 (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.158e-05/0.2609, allocations: 95.23 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.261, allocations: 35.98 kB / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.261, allocations: 3.938 kB / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.2611, allocations: 27.92 kB / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.2613, allocations: 7.953 kB / 0.7913 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.2616, allocations: 176.7 kB / 0.7915 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2619, allocations: 0.6887 MB / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.2619, allocations: 7.984 kB / 0.7922 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.262, allocations: 11.44 kB / 0.7922 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.262, allocations: 0 / 0.7922 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of Templates: time 0.002488/0.2645, allocations: 0.5817 MB / 0.7928 GB, free: 5.801 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) Environment - environmentSimulation: