Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.875/2.875, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001578/0.001578, allocations: 182.2 kB / 370.8 MB, free: 10.85 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.26/2.26, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001131/0.001131, allocations: 99.69 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004953, allocations: 11.53 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.241, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001001/0.2421, allocations: 429.6 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2432, allocations: 0.8331 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.2433, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.2433, allocations: 3.938 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2434, allocations: 11.98 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.2436, allocations: 15.98 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.462e-05/0.2437, allocations: 35.89 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2438, allocations: 19.97 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.244, allocations: 19.91 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.244, allocations: 19.92 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2441, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.2441, allocations: 4 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2441, allocations: 15.92 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.2442, allocations: 33.7 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.46e-05/0.2443, allocations: 48.11 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2443, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2443, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.2443, allocations: 3.938 kB / 0.9796 GB, free: 26.89 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.0005003/0.2448, allocations: 355.2 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2449, allocations: 24 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2449, allocations: 4 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2452, allocations: 198.8 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2453, allocations: 4 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2453, allocations: 4 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2455, allocations: 57.67 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2455, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2455, allocations: 4 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2455, allocations: 0 / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.2457, allocations: 35.98 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.2462, allocations: 304.7 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2467, allocations: 86.59 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2467, allocations: 4 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2468, allocations: 34.56 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.2468, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003604/0.2471, allocations: 73.7 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2472, allocations: 67.34 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2473, allocations: 121.8 kB / 0.9809 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2473, allocations: 29.7 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.2474, allocations: 100 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.2474, allocations: 3.906 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.2474, allocations: 3.938 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.2475, allocations: 314.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.2476, allocations: 19.98 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.2477, allocations: 33.7 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.2478, allocations: 12 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2478, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002123/0.248, allocations: 77.45 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2481, allocations: 8 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2481, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2481, allocations: 4.031 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.2482, allocations: 7.984 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2482, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2484, allocations: 19.89 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2484, allocations: 0 / 0.9816 GB, free: 24.7 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.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.578e-05/0.2485, allocations: 117.8 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.2485, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2486, allocations: 16.23 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2486, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2486, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2486, allocations: 3.984 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2488, allocations: 181.6 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2488, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.2489, allocations: 4 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2489, allocations: 3.938 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2489, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2489, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2489, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.2492, allocations: 159.4 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.2492, allocations: 89 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2493, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2494, allocations: 8 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.2495, allocations: 7.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.2495, allocations: 7.984 kB / 0.9821 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.2496, allocations: 91.28 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2496, allocations: 0 / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003283/0.2499, allocations: 8 kB / 0.9822 GB, free: 23.91 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 (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 0.0001026/0.25, allocations: 99.23 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2503, allocations: 39.92 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2503, allocations: 0 / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.2504, allocations: 23.92 kB / 0.9824 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.2507, allocations: 15.89 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.2511, allocations: 184.6 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2513, allocations: 0.6887 MB / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.2513, allocations: 0 / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.2514, allocations: 15.44 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2514, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.003561/0.255, allocations: 0.5835 MB / 0.9838 GB, free: 22.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)