Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.623/2.623, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001586/0.001586, allocations: 182.8 kB / 325.6 MB, free: 2.805 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.363/2.363, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001253/0.001253, allocations: 110.1 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004644, allocations: 9.656 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.4623, allocations: 133.5 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.4627, allocations: 87.94 kB / 1.029 GB, free: 11.65 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.01439/0.4771, allocations: 2.986 MB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4771, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4772, allocations: 4 kB / 1.032 GB, free: 8.652 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.0007438/0.4779, allocations: 432.7 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.478, allocations: 8.031 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.478, allocations: 11.86 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4782, allocations: 171 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.4782, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4783, allocations: 4 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4785, allocations: 81.53 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4786, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4786, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4786, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.4789, allocations: 43.91 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.4797, allocations: 324.6 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.48, allocations: 54.48 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.48, allocations: 7.984 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.4803, allocations: 87.56 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.4803, allocations: 0 / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006322/0.4809, allocations: 145.5 kB / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.481, allocations: 59.34 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.4811, allocations: 109 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4812, allocations: 33.7 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.4812, allocations: 92.31 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4813, allocations: 19.8 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.4813, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4814, allocations: 318.8 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.4816, allocations: 27.98 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.4818, allocations: 50.56 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4819, allocations: 35.98 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4819, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000417/0.4824, allocations: 117.5 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4824, allocations: 4 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4824, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4825, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4826, allocations: 19.92 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4826, allocations: 3.953 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.4828, allocations: 8 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4828, allocations: 3.984 kB / 1.034 GB, free: 6.184 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.000133/0.4829, allocations: 121.9 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.483, allocations: 7.844 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.483, allocations: 12.38 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.483, allocations: 0 / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.483, allocations: 0 / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4831, allocations: 7.953 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.4838, allocations: 390.5 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4838, allocations: 0 / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.4839, allocations: 7.984 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4839, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4839, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.258e-05/0.484, allocations: 3.953 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.484, allocations: 7.938 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.4845, allocations: 217.1 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.4846, allocations: 92.95 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4846, allocations: 0 / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4847, allocations: 7.984 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.4848, allocations: 7.953 kB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4848, allocations: 0 / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.4849, allocations: 99.27 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4849, allocations: 0 / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004471/0.4854, allocations: 51.92 kB / 1.035 GB, free: 5.07 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.0005092/0.4859, allocations: 168.4 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.4863, allocations: 87.86 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4863, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.4865, allocations: 35.98 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4868, allocations: 5.375 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.4874, allocations: 217.1 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4877, allocations: 0.6964 MB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.01e-05/0.4878, allocations: 8.172 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.4879, allocations: 15.44 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.4879, allocations: 0 / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of Templates: time 0.006105/0.494, allocations: 1.52 MB / 1.038 GB, free: 2.293 MB / 0.6823 GB