Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.293/2.293, allocations: 251 MB / 265.9 MB, free: 11.68 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.001559/0.001558, allocations: 174.6 kB / 325.5 MB, free: 2.891 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.467/2.467, allocations: 205.4 MB / 0.5764 GB, free: 20.74 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.001122/0.001122, allocations: 103 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006906/0.0006907, allocations: 12.56 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2253, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.4552, allocations: 133.8 MB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.4556, allocations: 83.95 kB / 1.03 GB, free: 11.35 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.0187/0.4743, allocations: 3.617 MB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4743, allocations: 3.938 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4744, allocations: 0 / 1.033 GB, free: 7.719 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009521/0.4753, allocations: 486.5 kB / 1.034 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4754, allocations: 12.03 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.4755, allocations: 38.56 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.4755, allocations: 11.86 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4757, allocations: 186.6 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.4758, allocations: 8 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4758, allocations: 8 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.4762, allocations: 97.61 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4763, allocations: 4 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.4763, allocations: 4 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4763, allocations: 7.938 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.4767, allocations: 71.91 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4781, allocations: 372.6 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.4785, allocations: 74.55 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.4785, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.4789, allocations: 107.3 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.4789, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0009974/0.4799, allocations: 237.4 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.48, allocations: 51.41 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4802, allocations: 133.4 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4802, allocations: 25.7 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.4803, allocations: 104.4 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.4804, allocations: 23.97 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.4804, allocations: 3.938 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4805, allocations: 326.8 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.4808, allocations: 43.97 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.481, allocations: 84.39 kB / 1.036 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.4813, allocations: 51.97 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4813, allocations: 8 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006191/0.4819, allocations: 161.4 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.482, allocations: 4 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.482, allocations: 4 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4821, allocations: 8.047 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.4823, allocations: 23.98 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4823, allocations: 3.984 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.4825, allocations: 15.84 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.4826, allocations: 4 kB / 1.036 GB, free: 4.719 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 (14): * Single equations (assignments): 14 * 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.0001832/0.4828, allocations: 129.8 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.4828, allocations: 11.91 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4829, allocations: 12.72 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4829, allocations: 384 / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.4829, allocations: 3.953 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4829, allocations: 0 / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.484, allocations: 470.3 kB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.484, allocations: 64 / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4842, allocations: 15.98 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.4842, allocations: 0 / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.4842, allocations: 15.94 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4842, allocations: 0 / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4843, allocations: 0 / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.485, allocations: 275.3 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4851, allocations: 85.02 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.4851, allocations: 0 / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4854, allocations: 15.94 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.4855, allocations: 15.98 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.4855, allocations: 0 / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000116/0.4856, allocations: 109.1 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4856, allocations: 3.938 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005702/0.4862, allocations: 59.84 kB / 1.037 GB, free: 3.418 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 (9): * Single equations (assignments): 5 * 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.001479/0.4877, allocations: 0.8737 MB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005937/0.4883, allocations: 123.9 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4884, allocations: 0 / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4886, allocations: 68.09 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4889, allocations: 24.73 kB / 1.038 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4903, allocations: 1.084 MB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4907, allocations: 0.7043 MB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.4908, allocations: 7.984 kB / 1.04 GB, free: 432 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.4909, allocations: 31.42 kB / 1.04 GB, free: 404 kB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.4909, allocations: 0 / 1.04 GB, free: 404 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.5226, allocations: 3.177 MB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.523, allocations: 244.4 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.006, allocations: 3.625 kB / 1.043 GB, free: 13.15 MB / 0.698 GB