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.32/2.32, allocations: 253.2 MB / 260.6 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 178.5 kB / 319.9 MB, free: 3.066 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.176/2.176, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001034/0.001034, allocations: 90.64 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.506e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.129, allocations: 133.7 MB / 1.019 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/1.13, allocations: 77.39 kB / 1.019 GB, free: 3.613 MB / 0.6355 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.01834/1.148, allocations: 2.97 MB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/1.148, allocations: 0 / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.056e-06/1.148, allocations: 0 / 1.022 GB, free: 1.098 MB / 0.6355 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.0008289/1.149, allocations: 418.8 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.149, allocations: 12.02 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/1.149, allocations: 12.89 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.149, allocations: 171 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/1.15, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/1.15, allocations: 7.984 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/1.15, allocations: 22.12 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.15, allocations: 58.98 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.15, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.15, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/1.15, allocations: 0 / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/1.151, allocations: 288.9 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/1.151, allocations: 44.39 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/1.151, allocations: 27.8 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/1.151, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.152, allocations: 65.58 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/1.152, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004699/1.152, allocations: 96.83 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.152, allocations: 62.47 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.152, allocations: 111.4 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.152, allocations: 25.7 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/1.153, allocations: 94.31 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/1.153, allocations: 19.31 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.153, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.153, allocations: 314.8 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/1.153, allocations: 26.69 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/1.153, allocations: 36.08 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/1.153, allocations: 26.92 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.153, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003658/1.154, allocations: 93.5 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.154, allocations: 5.562 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.154, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.154, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.154, allocations: 11.98 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.154, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/1.154, allocations: 14.7 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.154, allocations: 5.562 kB / 1.024 GB, free: 14.98 MB / 0.6511 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 () * 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.0001317/1.154, allocations: 104.9 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/1.154, allocations: 11.89 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/1.155, allocations: 7.938 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.155, allocations: 4 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.155, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.155, allocations: 4 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/1.155, allocations: 333.6 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.155, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/1.155, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.155, allocations: 4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.155, allocations: 3.938 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.155, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.155, allocations: 0.75 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/1.156, allocations: 206.5 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/1.156, allocations: 85.02 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/1.156, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.156, allocations: 7.984 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/1.156, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/1.156, allocations: 11.5 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.774e-05/1.156, allocations: 95.61 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.156, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000672/1.157, allocations: 47.89 kB / 1.025 GB, free: 14.03 MB / 0.6511 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 () * 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.0006104/1.158, allocations: 183.1 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002488/1.158, allocations: 45.81 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.158, allocations: 4.125 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/1.158, allocations: 30.67 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.159, allocations: 8.062 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/1.159, allocations: 89.91 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.159, allocations: 0.693 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.685e-05/1.16, allocations: 4.188 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/1.16, allocations: 14.56 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of SimCode: time 9.21e-07/1.16, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.007343/1.167, allocations: 1.498 MB / 1.028 GB, free: 11.48 MB / 0.6511 GB