Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.235/2.235, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 173.1 kB / 325.5 MB, free: 2.91 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.543/2.543, allocations: 205.4 MB / 0.5764 GB, free: 20.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 97.56 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006597/0.0006596, allocations: 11.91 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2185, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.453, allocations: 133.5 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.4534, allocations: 87.94 kB / 1.029 GB, free: 11.7 MB / 0.6823 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.01406/0.4675, allocations: 2.982 MB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4675, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.4676, allocations: 0 / 1.032 GB, free: 8.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006891/0.4683, allocations: 428.7 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4683, allocations: 12.03 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.4684, allocations: 38.55 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.4684, allocations: 11.86 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4686, allocations: 167 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.4687, allocations: 4 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.4687, allocations: 11.92 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.469, allocations: 73.66 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.469, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.469, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.469, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.4693, allocations: 47.95 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.4701, allocations: 328.6 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4703, allocations: 54.55 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4703, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.4706, allocations: 83.5 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.4706, allocations: 3.938 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006067/0.4712, allocations: 153.4 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4713, allocations: 55.48 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4714, allocations: 105 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.4715, allocations: 33.7 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.4715, allocations: 92.3 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.4716, allocations: 15.81 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.4716, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4717, allocations: 322.8 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4719, allocations: 31.98 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.4721, allocations: 46.56 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4722, allocations: 31.98 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4722, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004145/0.4727, allocations: 121.5 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4727, allocations: 5.875 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4727, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4728, allocations: 4 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4729, allocations: 19.86 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4729, allocations: 3.953 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4731, allocations: 12.06 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.4731, allocations: 7.984 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.0001271/0.4732, allocations: 121.3 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.4733, allocations: 7.906 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.4733, allocations: 4.375 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4733, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4733, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4733, allocations: 3.953 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000699/0.4741, allocations: 394.4 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4741, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.4741, allocations: 7.984 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4742, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4742, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.4742, allocations: 7.953 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4742, allocations: 4 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.4747, allocations: 219.3 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.4747, allocations: 85.02 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.4748, allocations: 4 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4749, allocations: 11.98 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.475, allocations: 7.953 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.475, allocations: 4 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.4e-05/0.4751, allocations: 95.27 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4751, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004481/0.4756, allocations: 55.86 kB / 1.035 GB, free: 5.082 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001205/0.4768, allocations: 0.8175 MB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.4772, allocations: 71.97 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4772, allocations: 3.938 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4774, allocations: 35.98 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4776, allocations: 11.94 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4787, allocations: 0.7362 MB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4791, allocations: 0.6926 MB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.461e-05/0.4792, allocations: 4.188 kB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.4792, allocations: 21.05 kB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/0.4792, allocations: 0 / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.504, allocations: 2.5 MB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.5044, allocations: 229.7 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.965, allocations: 0 / 1.04 GB, free: 24 kB / 0.6823 GB