Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.223/2.223, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 176.7 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.568/2.568, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 100.2 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006325/0.0006324, allocations: 12.09 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1998, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.4317, allocations: 131.6 MB / 1.027 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.4321, allocations: 71.95 kB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005791/0.4379, allocations: 1.099 MB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.438, allocations: 0 / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.438, allocations: 4 kB / 1.029 GB, free: 12.52 MB / 0.6823 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.0006669/0.4387, allocations: 368.5 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4388, allocations: 15.91 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.4389, allocations: 11.91 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.4391, allocations: 167 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4391, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.4392, allocations: 8 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.4394, allocations: 57.67 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4395, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4395, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4395, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.4398, allocations: 39.97 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.4405, allocations: 308.7 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.4411, allocations: 86.53 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4412, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4412, allocations: 38.5 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.4412, allocations: 0 / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004773/0.4417, allocations: 81.81 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4418, allocations: 55.36 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4419, allocations: 112.9 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.442, allocations: 29.7 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.4421, allocations: 95.98 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.4421, allocations: 15.89 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-06/0.4421, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4423, allocations: 314.8 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4424, allocations: 19.98 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.4426, allocations: 33.7 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4427, allocations: 19.97 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4428, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003124/0.4431, allocations: 73.58 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4431, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4431, allocations: 3.938 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4432, allocations: 336 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.4433, allocations: 8 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4433, allocations: 0 / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.4435, allocations: 19.94 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4435, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 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 0.0001327/0.4437, allocations: 117.8 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.4437, allocations: 4 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.4438, allocations: 11.89 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4438, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4438, allocations: 3.938 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4438, allocations: 8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.4442, allocations: 177.6 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4442, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.4443, allocations: 8 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4443, allocations: 4 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4443, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4443, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4444, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.4447, allocations: 168.2 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.4448, allocations: 85 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4448, allocations: 4 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4451, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.4451, allocations: 11.98 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4452, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001045/0.4453, allocations: 99.27 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4453, allocations: 3.938 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004819/0.4458, allocations: 8 kB / 1.031 GB, free: 9.551 MB / 0.6823 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.0001523/0.446, allocations: 95.23 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4463, allocations: 39.98 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4463, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4464, allocations: 23.98 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.4468, allocations: 12.66 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.4474, allocations: 190.2 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.4478, allocations: 0.6926 MB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.6e-05/0.4479, allocations: 3.984 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.448, allocations: 11.44 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/0.448, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of Templates: time 0.004341/0.4523, allocations: 0.5827 MB / 1.033 GB, free: 7.844 MB / 0.6823 GB