Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.252/2.252, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001463/0.001463, allocations: 184.3 kB / 325.6 MB, free: 2.836 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.577/2.577, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001129/0.001129, allocations: 87.86 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006456, allocations: 11.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2154, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.4641, allocations: 133.5 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4645, allocations: 83.94 kB / 1.029 GB, free: 11.63 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.01405/0.4785, allocations: 2.99 MB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4786, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4786, allocations: 0 / 1.032 GB, free: 8.637 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.0006644/0.4793, allocations: 424.7 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4793, allocations: 12.03 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.4794, allocations: 15.84 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4795, allocations: 163.1 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.4796, allocations: 4 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.4796, allocations: 7.938 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4799, allocations: 73.59 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4799, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4799, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4799, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.4802, allocations: 47.97 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.481, allocations: 324.6 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4812, allocations: 58.48 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4813, allocations: 3.938 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.4815, allocations: 83.5 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.4815, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006121/0.4821, allocations: 153.6 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4822, allocations: 55.34 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4823, allocations: 109 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.4824, allocations: 33.7 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.4824, allocations: 92.31 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.4825, allocations: 15.81 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.4825, allocations: 0 / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4826, allocations: 322.8 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4828, allocations: 23.98 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4829, allocations: 50.94 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.4831, allocations: 39.98 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4831, allocations: 0 / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003968/0.4835, allocations: 117.5 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4836, allocations: 8.062 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4836, allocations: 4 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.4836, allocations: 0 / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4838, allocations: 23.86 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4838, allocations: 7.953 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.4839, allocations: 4 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.484, allocations: 8.375 kB / 1.034 GB, free: 6.164 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.0001253/0.4841, allocations: 119.4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4841, allocations: 7.906 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.4842, allocations: 8.375 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4842, allocations: 0 / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4842, allocations: 4 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4842, allocations: 3.953 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.4849, allocations: 386.5 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4849, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.485, allocations: 7.984 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.485, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.485, allocations: 4 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4851, allocations: 3.953 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4851, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.4855, allocations: 229.1 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.4856, allocations: 84.95 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4856, allocations: 0 / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4858, allocations: 8 kB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4858, allocations: 7.938 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4859, allocations: 7.984 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.486, allocations: 95.2 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.486, allocations: 4 kB / 1.035 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004396/0.4864, allocations: 51.92 kB / 1.035 GB, free: 5.055 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.0004527/0.4869, allocations: 166.2 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.4873, allocations: 83.89 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4873, allocations: 0 / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.4874, allocations: 31.98 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4877, allocations: 8 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.4882, allocations: 205.2 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4885, allocations: 0.6965 MB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.26e-05/0.4886, allocations: 4.188 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.4886, allocations: 11.44 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/0.4886, allocations: 0 / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of Templates: time 0.005632/0.4943, allocations: 1.524 MB / 1.038 GB, free: 2.285 MB / 0.6823 GB