Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.341/2.341, allocations: 251 MB / 265.9 MB, free: 11.67 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.001486/0.001486, allocations: 181.5 kB / 325.5 MB, free: 2.879 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.53/2.53, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001587/0.001587, allocations: 91.55 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006622, allocations: 11.56 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2353, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.4712, allocations: 133.5 MB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/0.4716, allocations: 87.95 kB / 1.029 GB, free: 11.65 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.01437/0.486, allocations: 2.978 MB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.486, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4861, allocations: 4 kB / 1.032 GB, free: 8.664 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.0007735/0.4868, allocations: 432.7 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4869, allocations: 8.031 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.487, allocations: 30.56 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.487, allocations: 19.84 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.4872, allocations: 167 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.4872, allocations: 8 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.4873, allocations: 4 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.4876, allocations: 69.66 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4876, allocations: 3.938 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4876, allocations: 4 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4876, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.4879, allocations: 43.97 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.4888, allocations: 328.6 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.489, allocations: 54.55 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.489, allocations: 4 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.4893, allocations: 75.5 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.4893, allocations: 0 / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006905/0.49, allocations: 161.5 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4901, allocations: 51.41 kB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4902, allocations: 109 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4903, allocations: 29.7 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.4904, allocations: 92.31 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4904, allocations: 11.81 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.4904, allocations: 4 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4906, allocations: 322.8 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4907, allocations: 31.98 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4909, allocations: 46.56 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4911, allocations: 31.98 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4911, allocations: 4 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004202/0.4915, allocations: 117.5 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4916, allocations: 7.938 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4916, allocations: 4 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4916, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4918, allocations: 11.98 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.4918, allocations: 12.02 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4919, allocations: 11.94 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.492, allocations: 4 kB / 1.034 GB, free: 6.152 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.0001454/0.4921, allocations: 119.6 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.4922, allocations: 7.906 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.4922, allocations: 8.375 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.4922, allocations: 0 / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4922, allocations: 7.938 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4923, allocations: 3.953 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.493, allocations: 382.5 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.493, allocations: 0 / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.4931, allocations: 7.984 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4931, allocations: 0 / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.4932, allocations: 8 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.4932, allocations: 7.953 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4932, allocations: 0 / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.4937, allocations: 227.8 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.4938, allocations: 81.02 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4938, allocations: 0 / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.494, allocations: 12 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.4941, allocations: 15.94 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.4941, allocations: 4 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.4942, allocations: 95.86 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4942, allocations: 0 / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00046/0.4947, allocations: 51.92 kB / 1.035 GB, free: 5.035 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.001287/0.496, allocations: 0.8044 MB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.4964, allocations: 79.89 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4964, allocations: 4 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4966, allocations: 35.97 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4969, allocations: 15.94 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.498, allocations: 0.7305 MB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.4984, allocations: 0.6887 MB / 1.038 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.895e-05/0.4985, allocations: 8.172 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.4985, allocations: 19.44 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/0.4986, allocations: 0 / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.5257, allocations: 2.5 MB / 1.04 GB, free: 224 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003793/0.5262, allocations: 237.1 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/2.977, allocations: 0 / 1.04 GB, free: 15.98 MB / 0.698 GB