Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.468/2.468, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002061/0.002061, allocations: 182.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 96.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004742, allocations: 11.81 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.4322, allocations: 133.8 MB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.4326, allocations: 83.95 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB [/var/lib/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.01588/0.4485, allocations: 3.236 MB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4485, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4485, allocations: 0 / 1.033 GB, free: 8.16 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.0007573/0.4493, allocations: 458.4 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4493, allocations: 8.031 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4494, allocations: 11.86 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4496, allocations: 178.8 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.4496, allocations: 4 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.4496, allocations: 12 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.45, allocations: 85.56 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.45, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.4501, allocations: 4 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4501, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.4504, allocations: 55.91 kB / 1.034 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4515, allocations: 344.7 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.4518, allocations: 66.55 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4518, allocations: 4 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.4521, allocations: 95.39 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.4522, allocations: 0 / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008832/0.4531, allocations: 201.6 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4531, allocations: 55.39 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4533, allocations: 118.8 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4533, allocations: 29.7 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.4534, allocations: 95.98 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.4534, allocations: 19.81 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.4535, allocations: 4 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4536, allocations: 318.8 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4538, allocations: 31.98 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.454, allocations: 72.2 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.4541, allocations: 39.97 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4542, allocations: 0 / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004566/0.4546, allocations: 137.5 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4547, allocations: 8 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4547, allocations: 64 / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4547, allocations: 8 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.4549, allocations: 11.98 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4549, allocations: 7.953 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4551, allocations: 11.92 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4551, allocations: 8 kB / 1.035 GB, free: 5.465 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.0001485/0.4553, allocations: 129.1 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.4553, allocations: 7.906 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.4554, allocations: 8.375 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4554, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4554, allocations: 7.984 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4554, allocations: 3.953 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.4564, allocations: 430.4 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4564, allocations: 3.938 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.4565, allocations: 4 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4565, allocations: 3.938 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.4565, allocations: 7.922 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.4565, allocations: 7.953 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4565, allocations: 0 / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.4572, allocations: 247.4 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.4572, allocations: 77.11 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.4573, allocations: 4 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4575, allocations: 11.98 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4575, allocations: 11.94 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4576, allocations: 4 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.534e-05/0.4577, allocations: 101.8 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4577, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000479/0.4582, allocations: 51.98 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.0005257/0.4587, allocations: 173.9 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006385/0.4594, allocations: 95.88 kB / 1.037 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4594, allocations: 0 / 1.037 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.4597, allocations: 56.16 kB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.46, allocations: 8 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.4607, allocations: 233.3 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.461, allocations: 0.6965 MB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.811e-05/0.4611, allocations: 4 kB / 1.037 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.4611, allocations: 11.44 kB / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/0.4611, allocations: 0 / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of Templates: time 0.006455/0.4676, allocations: 1.779 MB / 1.039 GB, free: 1.18 MB / 0.6823 GB