Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.713/1.713, allocations: 287.5 MB / 302.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 178.6 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 92.47 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 10.53 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.000993/0.259, allocations: 417.7 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2601, allocations: 0.84 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.2601, allocations: 3.938 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.2602, allocations: 0 / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2603, allocations: 11.88 kB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2605, allocations: 11.98 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.476e-05/0.2606, allocations: 59.77 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2607, allocations: 20 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.2608, allocations: 15.92 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.2609, allocations: 15.92 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2609, allocations: 4 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2609, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.261, allocations: 19.91 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.261, allocations: 29.7 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.2611, allocations: 52.12 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2611, allocations: 3.984 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2611, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2611, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 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.0004904/0.2616, allocations: 359.3 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2617, allocations: 8.031 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.2617, allocations: 4.938 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.262, allocations: 204.1 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.262, allocations: 384 / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.262, allocations: 4.375 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2622, allocations: 66.22 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2622, allocations: 192 / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2622, allocations: 3.938 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2622, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2623, allocations: 35.98 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.2628, allocations: 300.7 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.263, allocations: 82.53 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.2631, allocations: 28.98 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.2631, allocations: 4 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2632, allocations: 38.44 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.2632, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000253/0.2634, allocations: 77.58 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2635, allocations: 59.39 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.2636, allocations: 117.8 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2636, allocations: 33.64 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2636, allocations: 96.12 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.2636, allocations: 7.844 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.2636, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.2637, allocations: 318.8 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.2638, allocations: 19.98 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.2639, allocations: 37.64 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/0.264, allocations: 32.84 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.264, allocations: 0 / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.2641, allocations: 69.58 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2641, allocations: 10.5 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2641, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2641, allocations: 4.031 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.2642, allocations: 4 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2642, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.2643, allocations: 15.98 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2643, allocations: 0 / 0.9821 GB, free: 24.44 MB / 0.6198 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 6.624e-05/0.2643, allocations: 127 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2644, allocations: 7.906 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.2644, allocations: 11.91 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2644, allocations: 3.984 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2644, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2644, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2646, allocations: 173.6 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2646, allocations: 0 / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.2646, allocations: 7.984 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2646, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2646, allocations: 7.938 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2646, allocations: 8 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2647, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2648, allocations: 155.5 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2648, allocations: 85.39 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2649, allocations: 3.938 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.2649, allocations: 19.98 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.265, allocations: 7.984 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.265, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.265, allocations: 95.64 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.265, allocations: 0 / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001953/0.2652, allocations: 8 kB / 0.9828 GB, free: 23.64 MB / 0.6198 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.454e-05/0.2653, allocations: 99.25 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.2655, allocations: 43.95 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2655, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.2656, allocations: 19.88 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2659, allocations: 11.92 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.2662, allocations: 184.4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2663, allocations: 0.6848 MB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.2664, allocations: 4 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.2664, allocations: 11.44 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2664, allocations: 4 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.002533/0.269, allocations: 0.5695 MB / 0.9844 GB, free: 21.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)