Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.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.001581/0.001581, allocations: 181.9 kB / 325.5 MB, free: 2.895 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.56/2.56, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001086/0.001086, allocations: 93.53 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006385, allocations: 17.53 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2076, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/0.4602, allocations: 133.5 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.4605, allocations: 83.95 kB / 1.029 GB, free: 12.17 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.4751, allocations: 3 MB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4752, allocations: 0 / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4752, allocations: 4 kB / 1.032 GB, free: 9.164 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.0007759/0.476, allocations: 420.7 kB / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4761, allocations: 12.03 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.4761, allocations: 34.56 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.4762, allocations: 11.86 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4764, allocations: 171 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.4764, allocations: 4 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4764, allocations: 4 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.4767, allocations: 73.59 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4767, allocations: 0 / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4768, allocations: 7.938 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4768, allocations: 0 / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.4771, allocations: 47.95 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.478, allocations: 324.6 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4782, allocations: 54.48 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4783, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.4785, allocations: 79.5 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.4785, allocations: 4 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006632/0.4792, allocations: 149.6 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.4793, allocations: 55.34 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4794, allocations: 116.9 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.4795, allocations: 29.7 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.4795, allocations: 92.31 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4796, allocations: 15.81 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.4796, allocations: 3.938 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4798, allocations: 322.8 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4799, allocations: 23.98 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4801, allocations: 50.56 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.4803, allocations: 35.98 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4803, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004307/0.4807, allocations: 125.8 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4808, allocations: 8 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.4808, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4808, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.481, allocations: 19.92 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.481, allocations: 7.953 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4811, allocations: 4 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4812, allocations: 11.94 kB / 1.034 GB, free: 6.648 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.0001446/0.4813, allocations: 121.9 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.4814, allocations: 7.906 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4814, allocations: 8.375 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4814, allocations: 0 / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4814, allocations: 4 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4815, allocations: 3.953 kB / 1.035 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.4822, allocations: 386.5 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4822, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.4823, allocations: 7.984 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4823, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4824, allocations: 4 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4824, allocations: 3.953 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4824, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.4829, allocations: 219.3 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.4829, allocations: 88.95 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.483, allocations: 0 / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4831, allocations: 8 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4832, allocations: 7.938 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.4832, allocations: 4 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.026e-05/0.4833, allocations: 95.27 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4833, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004518/0.4838, allocations: 47.92 kB / 1.035 GB, free: 5.551 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.001307/0.4851, allocations: 0.8245 MB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.4856, allocations: 75.94 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4856, allocations: 128 / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4858, allocations: 40.39 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.486, allocations: 15.94 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4871, allocations: 0.7207 MB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4875, allocations: 0.6926 MB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.581e-05/0.4876, allocations: 12.16 kB / 1.038 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.4876, allocations: 19.44 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/0.4876, allocations: 0 / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.5147, allocations: 2.504 MB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.5151, allocations: 235.3 kB / 1.04 GB, free: 492 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.896, allocations: 0 / 1.04 GB, free: 492 kB / 0.6823 GB