Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.302/2.302, 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.001612/0.001611, allocations: 174.7 kB / 325.5 MB, free: 2.898 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.404/2.404, 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.001169/0.001169, allocations: 99.41 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.4549, allocations: 133.5 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.4553, allocations: 83.89 kB / 1.029 GB, free: 11.71 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.01458/0.4699, allocations: 2.994 MB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4699, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.47, allocations: 0 / 1.032 GB, free: 8.707 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.0007997/0.4708, allocations: 432.7 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4708, allocations: 8.031 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.316e-05/0.4709, allocations: 38.48 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.471, allocations: 11.86 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4711, allocations: 163.1 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.4712, allocations: 8 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4712, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.4715, allocations: 73.58 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4715, allocations: 4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4715, allocations: 3.984 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4716, allocations: 3.984 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.4718, allocations: 47.92 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.4727, allocations: 324.6 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.4729, allocations: 50.56 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4729, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.4732, allocations: 87.44 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.4732, allocations: 0 / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000647/0.4739, allocations: 153.6 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.474, allocations: 51.41 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4741, allocations: 117 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4741, allocations: 29.7 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.4742, allocations: 84.33 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.4743, allocations: 15.81 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.4743, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4744, allocations: 322.8 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4746, allocations: 27.98 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.4748, allocations: 54.55 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.475, allocations: 31.94 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.475, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004141/0.4754, allocations: 125.5 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4755, allocations: 4 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4755, allocations: 4 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4755, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4757, allocations: 11.98 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.4757, allocations: 15.83 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4758, allocations: 7.984 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4759, allocations: 8.062 kB / 1.034 GB, free: 6.188 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.0001341/0.476, allocations: 125.5 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.476, allocations: 7.906 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.4761, allocations: 8.375 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4761, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4761, allocations: 4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4761, allocations: 7.938 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.4769, allocations: 378.5 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4769, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.477, allocations: 7.938 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.477, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.477, allocations: 4 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.477, allocations: 3.953 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.477, allocations: 480 / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.4775, allocations: 227.4 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.4776, allocations: 81.02 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4776, allocations: 0 / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4778, allocations: 7.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4778, allocations: 11.95 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4779, allocations: 11.98 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.4779, allocations: 87.28 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.478, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004595/0.4784, allocations: 51.92 kB / 1.035 GB, free: 5.086 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.001262/0.4797, allocations: 0.8229 MB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.4801, allocations: 83.95 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4801, allocations: 0 / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.4803, allocations: 35.97 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.4806, allocations: 7.953 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4817, allocations: 0.7322 MB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4821, allocations: 0.6965 MB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.321e-05/0.4821, allocations: 192 / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.4822, allocations: 24.42 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.4822, allocations: 0 / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5048, allocations: 2.491 MB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.5051, allocations: 239 kB / 1.04 GB, free: 20 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.995, allocations: 0 / 1.04 GB, free: 20 kB / 0.6823 GB