Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.055/5.055, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002578/0.002578, allocations: 358.3 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.565/4.565, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 190.9 kB / 1.226 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006599, allocations: 8 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7945, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001254/0.7958, allocations: 422.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.7976, allocations: 0.8377 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.7977, allocations: 5.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.7977, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.7979, allocations: 11.88 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.7981, allocations: 12.48 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.7982, allocations: 52.59 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.7984, allocations: 19.95 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.7986, allocations: 23.88 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.7987, allocations: 15.91 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.7987, allocations: 4 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.7988, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.7988, allocations: 8.875 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.7989, allocations: 33.7 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.799, allocations: 50.52 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.799, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7991, allocations: 2.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7991, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 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.0006654/0.7998, allocations: 363 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.7998, allocations: 15.56 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.7999, allocations: 5.062 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.8003, allocations: 200.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.8004, allocations: 8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.8004, allocations: 4.812 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.8007, allocations: 58.42 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.8007, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.8008, allocations: 0.7188 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8008, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.8011, allocations: 34.02 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.8018, allocations: 308.3 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.8025, allocations: 85.59 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.8026, allocations: 18.11 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.8027, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.8027, allocations: 35.06 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.846e-06/0.8028, allocations: 0.875 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0005513/0.8033, allocations: 84.61 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.8034, allocations: 55.36 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.8035, allocations: 124.8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8036, allocations: 25.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.8037, allocations: 101.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.8037, allocations: 3.906 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.8037, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.8038, allocations: 315.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.804, allocations: 16.86 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.8042, allocations: 30.77 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.8043, allocations: 17.31 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8043, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003383/0.8047, allocations: 71.98 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.8048, allocations: 7.594 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8048, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.8048, allocations: 4.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.805, allocations: 8.547 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.805, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.8052, allocations: 21.45 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.8052, allocations: 3.984 kB / 1.465 GB, free: 280.6 MB / 0.8542 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.0001188/0.8054, allocations: 118.3 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.8054, allocations: 4.625 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.8055, allocations: 8.531 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8055, allocations: 1.219 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8055, allocations: 5.25 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.8056, allocations: 81.02 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.8057, allocations: 7.891 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.8059, allocations: 16.64 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.806, allocations: 12.52 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000453/0.8065, allocations: 146.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003528/0.8068, allocations: 233.9 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000138/0.807, allocations: 13.34 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.8071, allocations: 103.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of Backend: time 2.004e-06/0.8071, allocations: 1.062 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.8079, allocations: 96.86 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000653/0.8086, allocations: 0.6283 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004825/0.8134, allocations: 0.598 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB