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.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001424/0.001424, allocations: 186.1 kB / 371 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.235/2.235, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008725/0.0008723, allocations: 91.05 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.000532, allocations: 11.56 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2324, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009566/0.2334, allocations: 425.7 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2345, allocations: 0.8361 MB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.2346, allocations: 3.938 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.2346, allocations: 3.938 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.2347, allocations: 3.938 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2349, allocations: 15.97 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.235, allocations: 63.78 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2352, allocations: 15.92 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2353, allocations: 15.94 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.2354, allocations: 23.89 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.2354, allocations: 7.938 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.2354, allocations: 0 / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2355, allocations: 4 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2355, allocations: 41.64 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.028e-05/0.2356, allocations: 48.11 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2356, allocations: 4 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2356, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2356, allocations: 0 / 0.9798 GB, free: 26.84 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.0004841/0.2361, allocations: 359.2 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2362, allocations: 12.02 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.2363, allocations: 4 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.2366, allocations: 206.8 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2366, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2367, allocations: 4 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2368, allocations: 57.67 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2369, allocations: 0 / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2369, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2369, allocations: 0 / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.2371, allocations: 35.92 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.2375, allocations: 300.7 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.238, allocations: 90.45 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.2381, allocations: 25.8 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2381, allocations: 0 / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2382, allocations: 34.5 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2382, allocations: 0 / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000348/0.2385, allocations: 77.94 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2386, allocations: 59.36 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.2387, allocations: 121.8 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2387, allocations: 25.7 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.2388, allocations: 96.03 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.2388, allocations: 11.84 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.2388, allocations: 0 / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.2389, allocations: 310.8 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.239, allocations: 19.98 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.2391, allocations: 41.69 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.2392, allocations: 12 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2392, allocations: 0 / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002068/0.2394, allocations: 69.58 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2394, allocations: 8 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2395, allocations: 3.938 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2395, allocations: 4.031 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.2396, allocations: 7.984 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2396, allocations: 7.891 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2397, allocations: 15.94 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2397, allocations: 3.984 kB / 0.9818 GB, free: 24.62 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.266e-05/0.2398, allocations: 115.2 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.2399, allocations: 4 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2399, allocations: 11.91 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2399, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.24, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.24, allocations: 3.953 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2402, allocations: 177.7 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2402, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.2402, allocations: 4 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2403, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2403, allocations: 7.938 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2403, allocations: 7.984 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2403, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.2405, allocations: 163.3 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.2406, allocations: 85.02 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.2406, allocations: 4 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2408, allocations: 16 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.2408, allocations: 11.97 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2408, allocations: 0 / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.2409, allocations: 95.64 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2409, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002997/0.2412, allocations: 12 kB / 0.9824 GB, free: 23.83 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.000103/0.2413, allocations: 95.25 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.2416, allocations: 35.98 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2416, allocations: 4 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.2417, allocations: 19.92 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.242, allocations: 10.14 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.2425, allocations: 184.7 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2426, allocations: 0.6809 MB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.2427, allocations: 8.359 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.2428, allocations: 11.44 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.2428, allocations: 4 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.003408/0.2462, allocations: 0.5765 MB / 0.984 GB, free: 22.14 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)