Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.165/4.165, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.641e-05, allocations: 0 / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.4996, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.6968, allocations: 125.7 MB / 0.7517 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.6971, allocations: 83.88 kB / 0.7518 GB, free: 1.734 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01271/0.7098, allocations: 2.913 MB / 0.7546 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.207e-06/0.7099, allocations: 0 / 0.7546 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.7099, allocations: 4 kB / 0.7546 GB, free: 14.81 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.0006057/0.7105, allocations: 404.1 kB / 0.755 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7106, allocations: 16.02 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.7106, allocations: 15.86 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.7108, allocations: 170.9 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.7108, allocations: 4 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7109, allocations: 11.94 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.711, allocations: 20 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.7111, allocations: 57.66 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.7112, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7112, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7112, allocations: 4 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.7119, allocations: 297.3 kB / 0.7556 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.712, allocations: 34.58 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.7121, allocations: 24.98 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.7121, allocations: 0 / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.7123, allocations: 77.52 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.704e-06/0.7123, allocations: 4 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003263/0.7127, allocations: 93.53 kB / 0.7558 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.7127, allocations: 59.34 kB / 0.7559 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.7128, allocations: 109 kB / 0.756 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.7129, allocations: 29.64 kB / 0.756 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.713, allocations: 88.33 kB / 0.7561 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.713, allocations: 19.86 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-06/0.713, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7132, allocations: 318.8 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.7133, allocations: 19.98 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.7134, allocations: 35.02 kB / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.7135, allocations: 23.98 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-06/0.7135, allocations: 0 / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.7137, allocations: 89.52 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7138, allocations: 10.03 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.598e-06/0.7138, allocations: 4.062 kB / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.7138, allocations: 0 / 0.7566 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.714, allocations: 12 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.671e-06/0.714, allocations: 3.984 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.7141, allocations: 15.89 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.7141, allocations: 7.938 kB / 0.7566 GB, free: 12.56 MB / 0.6355 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.0001032/0.7142, allocations: 105 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.7143, allocations: 11.91 kB / 0.7567 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.7143, allocations: 12.61 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-06/0.7143, allocations: 3.984 kB / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-06/0.7144, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-06/0.7144, allocations: 0 / 0.7567 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.7149, allocations: 342.9 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-06/0.715, allocations: 0 / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.715, allocations: 7.984 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-06/0.7151, allocations: 0 / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.7151, allocations: 7.938 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-06/0.7151, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.594e-06/0.7151, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.7154, allocations: 191.5 kB / 0.7573 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.7155, allocations: 88.94 kB / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.7156, allocations: 0 / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.7157, allocations: 8 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.7158, allocations: 11.98 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.7158, allocations: 4 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.164e-05/0.7159, allocations: 103.4 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.56e-07/0.7159, allocations: 0 / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004618/0.7164, allocations: 40 kB / 0.7575 GB, free: 11.55 MB / 0.6355 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.000468/0.7169, allocations: 175.1 kB / 0.7577 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.7171, allocations: 55.91 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.759e-06/0.7171, allocations: 0 / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.7172, allocations: 24 kB / 0.7577 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.7174, allocations: 17.98 kB / 0.7578 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.7178, allocations: 88.55 kB / 0.7579 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7182, allocations: 0.7003 MB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.7182, allocations: 4.188 kB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.7183, allocations: 11.44 kB / 0.7585 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.624e-06/0.7183, allocations: 4 kB / 0.7586 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.005523/0.7238, allocations: 1.5 MB / 0.76 GB, free: 8.93 MB / 0.6355 GB