Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 169.8 kB / 25.18 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9545/0.9545, allocations: 177.1 MB / 205.6 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.905/1.905, allocations: 389.6 MB / 0.6364 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7755 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.538e-05, allocations: 9.391 kB / 0.7755 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001599/0.001624, allocations: 0.7493 MB / 0.7762 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002635, allocations: 0.907 MB / 0.7771 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.002694, allocations: 0 / 0.7771 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.002734, allocations: 3.938 kB / 0.7771 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.002848, allocations: 11.66 kB / 0.7771 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.003046, allocations: 35.95 kB / 0.7772 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.003156, allocations: 61.22 kB / 0.7772 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.003254, allocations: 11.98 kB / 0.7772 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.003439, allocations: 47.83 kB / 0.7773 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.003498, allocations: 19.92 kB / 0.7773 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003518, allocations: 4 kB / 0.7773 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.00358, allocations: 8 kB / 0.7773 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.003598, allocations: 11.97 kB / 0.7773 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.003621, allocations: 15.19 kB / 0.7773 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003745, allocations: 51.77 kB / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003747, allocations: 0 / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003748, allocations: 0 / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.003753, allocations: 0 / 0.7774 GB, free: 4.062 MB / 0.7292 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.0003537/0.004107, allocations: 268.7 kB / 0.7776 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.004146, allocations: 9.344 kB / 0.7776 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.004256, allocations: 16.92 kB / 0.7777 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004383, allocations: 121.5 kB / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.004403, allocations: 8.375 kB / 0.7778 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.004414, allocations: 4.375 kB / 0.7778 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.004507, allocations: 66.86 kB / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004514, allocations: 192 / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004521, allocations: 384 / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004526, allocations: 384 / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.004552, allocations: 15.92 kB / 0.7779 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.004774, allocations: 168.3 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.004902, allocations: 56.19 kB / 0.7781 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.004915, allocations: 8.859 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.004926, allocations: 1.062 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.004948, allocations: 34.56 kB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004949, allocations: 0 / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001072/0.005056, allocations: 46.28 kB / 0.7782 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.00509, allocations: 51.41 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.005157, allocations: 130.3 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.005177, allocations: 33.7 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.00522, allocations: 88.08 kB / 0.7785 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.005236, allocations: 11.94 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.005267, allocations: 21.72 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.005351, allocations: 314.8 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.005363, allocations: 11.98 kB / 0.7788 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.0054, allocations: 43.42 kB / 0.7788 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.005428, allocations: 16.83 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00543, allocations: 0 / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.179e-05/0.005482, allocations: 48.38 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005494, allocations: 4 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.0055, allocations: 3.938 kB / 0.7789 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005508, allocations: 4 kB / 0.7789 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.005544, allocations: 4 kB / 0.7789 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.005548, allocations: 3.984 kB / 0.7789 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.005572, allocations: 9.203 kB / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005576, allocations: 0 / 0.7789 GB, free: 2.312 MB / 0.7292 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.005635, allocations: 117.8 kB / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005646, allocations: 0.8438 kB / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.005668, allocations: 19.92 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00567, allocations: 1.062 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.005672, allocations: 0 / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005675, allocations: 0 / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.005e-05/0.005765, allocations: 78.41 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005766, allocations: 0.9375 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.005781, allocations: 4 kB / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005782, allocations: 0 / 0.7791 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.005788, allocations: 4.5 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005789, allocations: 0.875 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.005791, allocations: 3.938 kB / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.005867, allocations: 139.8 kB / 0.7793 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.005875, allocations: 5.391 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.005888, allocations: 4 kB / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.005917, allocations: 4.047 kB / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.005955, allocations: 20.5 kB / 0.7793 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.005959, allocations: 3.984 kB / 0.7793 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.666e-05/0.005975, allocations: 13.55 kB / 0.7793 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005976, allocations: 0 / 0.7793 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001105/0.006086, allocations: 9.188 kB / 0.7793 GB, free: 1.855 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.459e-05/0.006161, allocations: 84.91 kB / 0.7794 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.637e-05/0.006227, allocations: 21.66 kB / 0.7794 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.006232, allocations: 4 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.006247, allocations: 13.72 kB / 0.7795 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.006368, allocations: 10.5 kB / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.006766, allocations: 192.2 kB / 0.7797 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.006817, allocations: 76.48 kB / 0.7797 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.006984, allocations: 51.38 kB / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/0.006985, allocations: 0 / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of Templates: time 0.001481/0.008466, allocations: 0.8556 MB / 0.7806 GB, free: 0.5234 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H > Buildings_13_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.521579710766673]