Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004222/0.004226, allocations: 230.9 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00127/0.00127, allocations: 177.5 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.071/4.071, allocations: 389 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.964/3.964, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004607, allocations: 12 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1762, allocations: 98.72 MB / 1.105 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8187/0.9949, allocations: 126.5 MB / 1.228 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.9953, allocations: 85.83 kB / 1.228 GB, free: 18.72 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01301/1.008, allocations: 2.961 MB / 1.231 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/1.008, allocations: 1.344 kB / 1.231 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.008, allocations: 0 / 1.231 GB, free: 18.31 MB / 0.6042 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.0005874/1.009, allocations: 417 kB / 1.232 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.009, allocations: 12.91 kB / 1.232 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/1.009, allocations: 11.73 kB / 1.232 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.009, allocations: 172.9 kB / 1.232 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/1.009, allocations: 3.438 kB / 1.232 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/1.009, allocations: 3.969 kB / 1.232 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/1.01, allocations: 70.83 kB / 1.232 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.01, allocations: 0.7031 kB / 1.232 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.01, allocations: 3 kB / 1.232 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.01, allocations: 3.5 kB / 1.232 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/1.01, allocations: 40.94 kB / 1.232 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/1.011, allocations: 326.1 kB / 1.232 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/1.011, allocations: 51.92 kB / 1.232 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.011, allocations: 34.66 kB / 1.232 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/1.011, allocations: 3.812 kB / 1.232 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/1.011, allocations: 77.11 kB / 1.232 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/1.011, allocations: 3.5 kB / 1.232 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005645/1.012, allocations: 157 kB / 1.232 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/1.012, allocations: 52.11 kB / 1.233 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/1.012, allocations: 126.9 kB / 1.233 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.012, allocations: 35.95 kB / 1.233 GB, free: 17.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/1.013, allocations: 89.44 kB / 1.233 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/1.013, allocations: 16.83 kB / 1.233 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/1.013, allocations: 0 / 1.233 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.013, allocations: 322.4 kB / 1.233 GB, free: 32.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/1.013, allocations: 25.33 kB / 1.233 GB, free: 32.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/1.013, allocations: 52.11 kB / 1.233 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/1.013, allocations: 39.45 kB / 1.233 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.013, allocations: 0 / 1.233 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000378/1.014, allocations: 126.5 kB / 1.233 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.014, allocations: 8.531 kB / 1.233 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.014, allocations: 3.844 kB / 1.233 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.014, allocations: 0 / 1.233 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/1.014, allocations: 14.12 kB / 1.233 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.014, allocations: 3.844 kB / 1.233 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.014, allocations: 6.75 kB / 1.233 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/1.014, allocations: 10.5 kB / 1.233 GB, free: 32.58 MB / 0.6198 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.0001158/1.014, allocations: 117.4 kB / 1.233 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/1.014, allocations: 9.547 kB / 1.233 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/1.014, allocations: 10.81 kB / 1.233 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.014, allocations: 3.875 kB / 1.233 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.014, allocations: 3.953 kB / 1.233 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.014, allocations: 3 kB / 1.233 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/1.015, allocations: 374.5 kB / 1.234 GB, free: 32.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.015, allocations: 0 / 1.234 GB, free: 32.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/1.015, allocations: 9.875 kB / 1.234 GB, free: 32.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.015, allocations: 4.938 kB / 1.234 GB, free: 32.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.015, allocations: 8.953 kB / 1.234 GB, free: 32.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.015, allocations: 6.688 kB / 1.234 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.015, allocations: 1.219 kB / 1.234 GB, free: 32.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/1.016, allocations: 213.3 kB / 1.234 GB, free: 32.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/1.016, allocations: 84.2 kB / 1.234 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/1.016, allocations: 2.188 kB / 1.234 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.016, allocations: 12.48 kB / 1.234 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.016, allocations: 5.141 kB / 1.234 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/1.016, allocations: 5.391 kB / 1.234 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.072e-05/1.016, allocations: 90.73 kB / 1.234 GB, free: 31.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/1.016, allocations: 3.5 kB / 1.234 GB, free: 31.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004597/1.016, allocations: 53.36 kB / 1.234 GB, free: 31.82 MB / 0.6198 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.0004784/1.017, allocations: 172.1 kB / 1.234 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000385/1.017, allocations: 76.62 kB / 1.235 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.017, allocations: 0 / 1.235 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/1.018, allocations: 39.45 kB / 1.235 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/1.018, allocations: 18.69 kB / 1.235 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/1.018, allocations: 209.5 kB / 1.235 GB, free: 31.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.019, allocations: 0.6985 MB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.05e-05/1.019, allocations: 5.109 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/1.019, allocations: 14.91 kB / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/1.019, allocations: 0 / 1.236 GB, free: 30.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.006203/1.025, allocations: 1.525 MB / 1.237 GB, free: 30.81 MB / 0.6198 GB