Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008594/0.0008595, allocations: 12 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7651, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00198/0.7672, allocations: 1.124 MB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.7677, allocations: 148.5 kB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.7677, allocations: 0 / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.7678, allocations: 7.922 kB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.7679, allocations: 7.938 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.7681, allocations: 19.98 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7682, allocations: 51.8 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.7684, allocations: 15.98 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.7685, allocations: 19.91 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.7686, allocations: 15.92 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.7686, allocations: 4 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.7687, allocations: 7.938 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.7687, allocations: 8 kB / 0.7295 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.7687, allocations: 33.64 kB / 0.7295 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.7688, allocations: 49.84 kB / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7688, allocations: 0 / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7688, allocations: 0 / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7689, allocations: 0 / 0.7296 GB, free: 9.898 MB / 0.545 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.0006334/0.7695, allocations: 366.4 kB / 0.7299 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7696, allocations: 12.03 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.7696, allocations: 7.906 kB / 0.73 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.7699, allocations: 198.9 kB / 0.7302 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.77, allocations: 3.984 kB / 0.7302 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.77, allocations: 8 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.7702, allocations: 57.67 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7702, allocations: 0 / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7702, allocations: 7.984 kB / 0.7302 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7702, allocations: 3.938 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.7704, allocations: 35.92 kB / 0.7303 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.7709, allocations: 308.7 kB / 0.7306 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.7712, allocations: 86.47 kB / 0.7306 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.7713, allocations: 25 kB / 0.7307 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.7713, allocations: 0 / 0.7307 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7713, allocations: 34.56 kB / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.7713, allocations: 0 / 0.7307 GB, free: 8.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002694/0.7716, allocations: 81.58 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.7717, allocations: 55.36 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.7718, allocations: 121.8 kB / 0.7309 GB, free: 8.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.7718, allocations: 29.69 kB / 0.731 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.7719, allocations: 92.14 kB / 0.7311 GB, free: 8.195 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.7719, allocations: 3.906 kB / 0.7311 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.7719, allocations: 3.938 kB / 0.7311 GB, free: 8.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7721, allocations: 318.8 kB / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.7721, allocations: 20 kB / 0.7314 GB, free: 7.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.7722, allocations: 29.7 kB / 0.7314 GB, free: 7.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.7723, allocations: 15.98 kB / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7723, allocations: 0 / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.7724, allocations: 69.62 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.7725, allocations: 13.86 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7725, allocations: 0 / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7725, allocations: 0 / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.7725, allocations: 4 kB / 0.7315 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7726, allocations: 7.891 kB / 0.7315 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.7726, allocations: 23.92 kB / 0.7316 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.7726, allocations: 0 / 0.7316 GB, free: 7.676 MB / 0.545 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.0001019/0.7728, allocations: 117.8 kB / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.7728, allocations: 3.906 kB / 0.7317 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.7728, allocations: 11.91 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7728, allocations: 336 / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.7729, allocations: 3.984 kB / 0.7317 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7729, allocations: 3.953 kB / 0.7317 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.7731, allocations: 169.7 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7731, allocations: 0 / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.7731, allocations: 11.97 kB / 0.7319 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.7731, allocations: 4 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.7732, allocations: 4 kB / 0.7319 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7732, allocations: 4 kB / 0.7319 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7732, allocations: 0 / 0.7319 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.7733, allocations: 159.4 kB / 0.732 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.7734, allocations: 88.95 kB / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.7734, allocations: 4 kB / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.7735, allocations: 11.98 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.7736, allocations: 7.984 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7736, allocations: 0 / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.7736, allocations: 95.7 kB / 0.7322 GB, free: 6.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7737, allocations: 0 / 0.7322 GB, free: 6.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002207/0.7739, allocations: 11.94 kB / 0.7322 GB, free: 6.875 MB / 0.545 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.0001181/0.774, allocations: 99.25 kB / 0.7323 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.7742, allocations: 39.97 kB / 0.7324 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7742, allocations: 0 / 0.7324 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.7743, allocations: 19.94 kB / 0.7324 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.7745, allocations: 12.27 kB / 0.7324 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.7749, allocations: 184.4 kB / 0.7326 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.7753, allocations: 0.6926 MB / 0.7332 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.337e-05/0.7754, allocations: 4 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.7754, allocations: 15.44 kB / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.7754, allocations: 0 / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of Templates: time 0.003154/0.7786, allocations: 0.574 MB / 0.7338 GB, free: 5.176 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) Environment - environmentSimulation: