Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.443/2.443, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 189.2 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 97.97 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.121e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 106.3 MB / 0.8841 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9866/1.196, allocations: 133.6 MB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004539/1.196, allocations: 82.69 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB [/home/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.0189/1.215, allocations: 2.863 MB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.215, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.215, allocations: 4 kB / 1.017 GB, free: 2.742 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006738/1.216, allocations: 435.9 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.216, allocations: 12.03 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/1.216, allocations: 11.84 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.216, allocations: 172 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.217, allocations: 4 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/1.217, allocations: 4 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/1.217, allocations: 21.62 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.217, allocations: 56.48 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.217, allocations: 4 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.217, allocations: 3.984 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.217, allocations: 4 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/1.218, allocations: 273.9 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.218, allocations: 41.38 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/1.218, allocations: 27.41 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.218, allocations: 7.062 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/1.218, allocations: 77.56 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/1.218, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/1.218, allocations: 89.27 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/1.218, allocations: 55.36 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/1.219, allocations: 115.7 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/1.219, allocations: 29.7 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/1.219, allocations: 90.55 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/1.219, allocations: 19.89 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.219, allocations: 0 / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.219, allocations: 316.6 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/1.219, allocations: 15.44 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/1.219, allocations: 55.83 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/1.22, allocations: 26.86 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.22, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003807/1.22, allocations: 83.97 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.22, allocations: 8.156 kB / 1.019 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.22, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.22, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.22, allocations: 19.92 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.22, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/1.221, allocations: 22.22 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.221, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000167/1.221, allocations: 113.2 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003861/1.221, allocations: 88.48 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/1.221, allocations: 7.906 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/1.221, allocations: 8.5 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.221, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.221, allocations: 3.953 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/1.221, allocations: 7.984 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/1.222, allocations: 325.8 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.222, allocations: 4 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/1.222, allocations: 11.98 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.222, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.223, allocations: 3.75 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.223, allocations: 384 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.223, allocations: 384 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/1.223, allocations: 189.1 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/1.223, allocations: 89 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/1.223, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/1.224, allocations: 8.625 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/1.224, allocations: 7.984 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.224, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001249/1.224, allocations: 99.66 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.62e-07/1.224, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008918/1.225, allocations: 47.38 kB / 1.02 GB, free: 15.55 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001732/1.227, allocations: 0.8026 MB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00034/1.227, allocations: 49.75 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.227, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/1.227, allocations: 33.73 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/1.228, allocations: 11.44 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/1.229, allocations: 148.2 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/1.229, allocations: 0.6885 MB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.767e-05/1.229, allocations: 8.172 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/1.229, allocations: 14.06 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.23, allocations: 8 kB / 1.022 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/1.271, allocations: 2.171 MB / 1.024 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/1.271, allocations: 204.9 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.717, allocations: 0 / 1.025 GB, free: 11.41 MB / 0.6511 GB