Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.152/2.152, allocations: 251 MB / 265.9 MB, free: 11.7 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.001501/0.001501, allocations: 178.7 kB / 325.5 MB, free: 2.918 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.517/2.517, allocations: 205.4 MB / 0.5764 GB, free: 20.87 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.001213/0.001213, allocations: 97.16 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007535/0.000754, allocations: 12.12 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2836, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.5596, allocations: 133.8 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.56, allocations: 79.95 kB / 1.03 GB, free: 11.46 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.01692/0.5769, allocations: 3.236 MB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.577, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.577, allocations: 0 / 1.033 GB, free: 8.219 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008526/0.5779, allocations: 470.3 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.5779, allocations: 8.031 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.578, allocations: 38.48 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.5781, allocations: 15.95 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.5782, allocations: 170.9 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.5783, allocations: 4 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.5783, allocations: 11.98 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.5787, allocations: 89.52 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5787, allocations: 3.938 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.5788, allocations: 4 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5788, allocations: 7.984 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.5791, allocations: 51.97 kB / 1.034 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.5802, allocations: 340.8 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.5806, allocations: 58.59 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.5806, allocations: 4 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.581, allocations: 99.48 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.945e-06/0.581, allocations: 4 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009318/0.5819, allocations: 189.5 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.582, allocations: 59.34 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.5822, allocations: 118.5 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5822, allocations: 33.7 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.5823, allocations: 96 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.5823, allocations: 19.78 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.5824, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5825, allocations: 318.8 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5827, allocations: 35.97 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5829, allocations: 68.72 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.5831, allocations: 35.98 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5831, allocations: 0 / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004777/0.5836, allocations: 141.4 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5836, allocations: 5.875 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5836, allocations: 4 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5837, allocations: 0 / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.5839, allocations: 19.98 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.5839, allocations: 11.89 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.584, allocations: 15.94 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.5841, allocations: 4 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001894/0.5843, allocations: 125.8 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.5843, allocations: 0 / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.5844, allocations: 8.375 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5844, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5844, allocations: 48 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.5845, allocations: 7.938 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009871/0.5855, allocations: 438.3 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5855, allocations: 3.938 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.5856, allocations: 11.98 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5856, allocations: 0 / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.5856, allocations: 4 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5856, allocations: 7.953 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5857, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.5863, allocations: 247.3 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.5864, allocations: 85.16 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.5865, allocations: 4 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.5867, allocations: 8 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.5867, allocations: 15.94 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.5868, allocations: 4 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001192/0.5869, allocations: 91.27 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/0.5869, allocations: 0 / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005169/0.5874, allocations: 59.83 kB / 1.036 GB, free: 4.27 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001489/0.5889, allocations: 0.8465 MB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.5895, allocations: 99.86 kB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5896, allocations: 0 / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.5898, allocations: 47.97 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5901, allocations: 20.08 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.5915, allocations: 1.063 MB / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.5919, allocations: 0.6965 MB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.349e-05/0.592, allocations: 4 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.5921, allocations: 19.42 kB / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/0.5921, allocations: 0 / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.6215, allocations: 2.828 MB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.6219, allocations: 234.1 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.002, allocations: 0 / 1.042 GB, free: 14.47 MB / 0.698 GB