Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.379/2.379, allocations: 253.2 MB / 260.6 MB, free: 7.402 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 189.5 kB / 319.9 MB, free: 3.035 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.07/2.07, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001086/0.001086, allocations: 82.7 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.255e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8713/1.071, allocations: 133.8 MB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.071, allocations: 80.31 kB / 1.019 GB, free: 3.512 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01884/1.09, allocations: 3.04 MB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.09, allocations: 0 / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.09, allocations: 0 / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002424/1.093, allocations: 450.6 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.093, allocations: 15.95 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/1.093, allocations: 11.86 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/1.093, allocations: 175.8 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.093, allocations: 2.688 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/1.093, allocations: 4 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001633/1.093, allocations: 30.06 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/1.094, allocations: 78.95 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.094, allocations: 4 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.094, allocations: 4 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.094, allocations: 3.984 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/1.095, allocations: 299.9 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/1.095, allocations: 56.88 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/1.095, allocations: 35.3 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.095, allocations: 4 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/1.095, allocations: 83.34 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/1.095, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000573/1.096, allocations: 133.2 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.096, allocations: 63.34 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.096, allocations: 114.9 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/1.096, allocations: 29.7 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/1.096, allocations: 90.56 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/1.096, allocations: 27.02 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/1.096, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.097, allocations: 317.9 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/1.097, allocations: 14.38 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/1.097, allocations: 71.75 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/1.097, allocations: 22.8 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.097, allocations: 3.938 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003544/1.097, allocations: 103.3 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.097, allocations: 8.938 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.097, allocations: 4 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.097, allocations: 3.938 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/1.098, allocations: 19.92 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.098, allocations: 4.094 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.098, allocations: 15.88 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/1.098, allocations: 8 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001412/1.098, allocations: 120.2 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/1.098, allocations: 7.906 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/1.098, allocations: 4.625 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.098, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.098, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/1.098, allocations: 3.984 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/1.106, allocations: 385.4 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.106, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/1.106, allocations: 16.86 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.106, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.106, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.106, allocations: 0.7031 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.106, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/1.106, allocations: 232.1 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/1.106, allocations: 85.02 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/1.106, allocations: 7.812 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/1.107, allocations: 11.98 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/1.107, allocations: 8.078 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.107, allocations: 7.984 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.195e-05/1.107, allocations: 95.58 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.107, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000698/1.108, allocations: 51.89 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005912/1.108, allocations: 172.2 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002917/1.109, allocations: 69.17 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.109, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.109, allocations: 49.8 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/1.109, allocations: 10.19 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/1.11, allocations: 123.1 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/1.11, allocations: 0.698 MB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.373e-05/1.11, allocations: 7.984 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/1.11, allocations: 11.44 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/1.11, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of Templates: time 0.02025/1.131, allocations: 1.718 MB / 1.028 GB, free: 10.8 MB / 0.6511 GB