Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.002155/0.002154, allocations: 177.3 kB / 325.6 MB, free: 2.809 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.456/2.456, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001115/0.001115, allocations: 102.8 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006453, allocations: 16.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2194, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.4883, allocations: 133.6 MB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004355/0.4888, allocations: 83.95 kB / 1.029 GB, free: 11.59 MB / 0.6823 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.01915/0.508, allocations: 3.072 MB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.966e-06/0.508, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.508, allocations: 0 / 1.032 GB, free: 8.512 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009342/0.509, allocations: 462.3 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.5091, allocations: 12.03 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.5092, allocations: 15.84 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.5094, allocations: 175 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.5094, allocations: 4 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.5095, allocations: 8 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.5099, allocations: 89.56 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5099, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.51, allocations: 4 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.51, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.5104, allocations: 55.91 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009758/0.5114, allocations: 324.7 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.5118, allocations: 70.56 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.5118, allocations: 3.938 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.5122, allocations: 103.3 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.5123, allocations: 0 / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.001099/0.5134, allocations: 193.5 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.5135, allocations: 63.39 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5136, allocations: 119 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.5137, allocations: 25.7 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.5138, allocations: 100.5 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.5139, allocations: 19.72 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.5139, allocations: 0 / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5141, allocations: 322.8 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5143, allocations: 31.98 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.5145, allocations: 79.61 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.5148, allocations: 43.97 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5148, allocations: 0 / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005966/0.5154, allocations: 137.4 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5155, allocations: 4 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5155, allocations: 4 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5155, allocations: 0 / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.5157, allocations: 27.92 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5158, allocations: 4.328 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.5159, allocations: 19.92 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.516, allocations: 8.156 kB / 1.035 GB, free: 5.785 MB / 0.6823 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 () * Number of clocked 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.0001747/0.5162, allocations: 127.8 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.5162, allocations: 11.84 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.5163, allocations: 12.36 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5163, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5163, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5164, allocations: 7.953 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.5175, allocations: 436.2 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5176, allocations: 0 / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.5176, allocations: 4 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5177, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.5177, allocations: 7.984 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5177, allocations: 3.953 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5177, allocations: 4 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.5185, allocations: 255.3 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.5186, allocations: 85.02 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.5187, allocations: 0 / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5189, allocations: 11.98 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.519, allocations: 11.95 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.5191, allocations: 7.984 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001069/0.5192, allocations: 95.27 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5192, allocations: 0 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007696/0.52, allocations: 55.94 kB / 1.036 GB, free: 4.574 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * 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.0006629/0.5207, allocations: 183 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.5212, allocations: 91.89 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5213, allocations: 0 / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.5216, allocations: 48.23 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.522, allocations: 19.98 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.5229, allocations: 221.2 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.5234, allocations: 0.7004 MB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.737e-05/0.5236, allocations: 7.984 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.5236, allocations: 11.44 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/0.5236, allocations: 0 / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.008737/0.5324, allocations: 1.756 MB / 1.039 GB, free: 1.512 MB / 0.6823 GB