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.422/2.422, allocations: 253.2 MB / 260.6 MB, free: 7.383 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.001571/0.001571, allocations: 176.8 kB / 319.9 MB, free: 3.074 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.063/2.063, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001083/0.001083, allocations: 85.02 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.329e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.125, allocations: 133.8 MB / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.126, allocations: 82.56 kB / 1.019 GB, free: 3.504 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.0141/1.14, allocations: 3.038 MB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/1.14, allocations: 0 / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.14, allocations: 0 / 1.022 GB, free: 0.9297 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.0006598/1.141, allocations: 448.5 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.141, allocations: 15.95 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/1.141, allocations: 15.84 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.141, allocations: 171 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/1.141, allocations: 8.812 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/1.141, allocations: 4 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/1.141, allocations: 31.73 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/1.141, allocations: 75.59 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.141, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/1.141, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.142, allocations: 4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/1.142, allocations: 300.2 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/1.142, allocations: 58.42 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/1.143, allocations: 36.36 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/1.143, allocations: 2.562 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/1.143, allocations: 84.47 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/1.143, allocations: 4 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004464/1.143, allocations: 134.2 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.143, allocations: 62.53 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.143, allocations: 111.7 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.143, allocations: 25.7 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/1.144, allocations: 91.12 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/1.144, allocations: 27.02 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.144, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.144, allocations: 325.3 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/1.144, allocations: 15.62 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.144, allocations: 65.84 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/1.144, allocations: 26.55 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.144, allocations: 3.938 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002543/1.144, allocations: 102.7 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.144, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.144, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.144, allocations: 4 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.145, allocations: 23.3 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.145, allocations: 8.562 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/1.145, allocations: 16.09 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.145, allocations: 4 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.0001108/1.145, allocations: 119.3 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.145, allocations: 3.906 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/1.145, allocations: 12.5 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.145, allocations: 4.078 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.145, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.145, allocations: 7.984 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/1.146, allocations: 388.2 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.146, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/1.146, allocations: 7.984 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.146, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/1.146, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.146, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.146, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/1.146, allocations: 237.9 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/1.146, allocations: 85.02 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/1.146, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/1.147, allocations: 11.55 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.147, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.147, allocations: 11.92 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.933e-05/1.147, allocations: 91.97 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.147, allocations: 0 / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004852/1.147, allocations: 59.88 kB / 1.026 GB, free: 13.59 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.000489/1.148, allocations: 171.9 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002254/1.148, allocations: 70.11 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.148, allocations: 8.062 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/1.148, allocations: 36.69 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/1.148, allocations: 16.3 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/1.149, allocations: 121.1 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.149, allocations: 0.6942 MB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.774e-05/1.149, allocations: 8.188 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/1.149, allocations: 15.42 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.149, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.00645/1.156, allocations: 1.73 MB / 1.028 GB, free: 10.77 MB / 0.6511 GB