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.008905/0.008905, allocations: 110.3 kB / 15.05 MB, free: 6.031 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.001136/0.001136, allocations: 189.3 kB / 15.95 MB, free: 5.965 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 2.085/2.085, allocations: 194.5 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.358/2.358, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.543, allocations: 98.69 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.7307, allocations: 126.5 MB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.731, allocations: 87.94 kB / 0.8069 GB, free: 15.74 MB / 0.6355 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.01328/0.7443, allocations: 2.948 MB / 0.8098 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.597e-06/0.7443, allocations: 0 / 0.8098 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.2e-06/0.7444, allocations: 0 / 0.8098 GB, free: 12.78 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.0006458/0.745, allocations: 416.8 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7451, allocations: 12.03 kB / 0.8102 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.7451, allocations: 11.86 kB / 0.8102 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.7453, allocations: 174.9 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.4e-05/0.7453, allocations: 4 kB / 0.8104 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.7454, allocations: 7.984 kB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.7456, allocations: 69.66 kB / 0.8105 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.779e-06/0.7456, allocations: 0 / 0.8105 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.7456, allocations: 0 / 0.8105 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7457, allocations: 4 kB / 0.8105 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.7459, allocations: 43.97 kB / 0.8105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.7466, allocations: 327 kB / 0.8108 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.7468, allocations: 50.56 kB / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.7468, allocations: 0 / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.747, allocations: 75.5 kB / 0.811 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.404e-06/0.7471, allocations: 0 / 0.811 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005212/0.7476, allocations: 157.4 kB / 0.8111 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.7477, allocations: 55.41 kB / 0.8112 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.7478, allocations: 116.9 kB / 0.8113 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.7478, allocations: 25.7 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.7479, allocations: 100.3 kB / 0.8114 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.7479, allocations: 7.812 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.748, allocations: 12 kB / 0.8114 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7481, allocations: 318.8 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.7483, allocations: 23.98 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.7484, allocations: 50.98 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.7486, allocations: 43.92 kB / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-06/0.7486, allocations: 0 / 0.8118 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003503/0.7489, allocations: 109.5 kB / 0.8119 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.749, allocations: 8 kB / 0.8119 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.452e-06/0.749, allocations: 4.047 kB / 0.8119 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.749, allocations: 4 kB / 0.8119 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.7492, allocations: 12 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.851e-06/0.7492, allocations: 3.953 kB / 0.812 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.7493, allocations: 15.98 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.7493, allocations: 4 kB / 0.812 GB, free: 10.33 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 () * 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.0001282/0.7495, allocations: 117.8 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.7495, allocations: 7.906 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.7495, allocations: 16.36 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7496, allocations: 4 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-06/0.7496, allocations: 0 / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7496, allocations: 3.953 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.7503, allocations: 378.9 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-06/0.7503, allocations: 0 / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.7503, allocations: 12 kB / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.73e-06/0.7504, allocations: 0 / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7504, allocations: 0 / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.56e-06/0.7504, allocations: 15.81 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-06/0.7504, allocations: 0 / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.7508, allocations: 219.5 kB / 0.8127 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.7509, allocations: 85.02 kB / 0.8128 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.7509, allocations: 7.984 kB / 0.8128 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7511, allocations: 7.984 kB / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.7511, allocations: 11.89 kB / 0.8128 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.7512, allocations: 3.984 kB / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.888e-05/0.7513, allocations: 95.42 kB / 0.8129 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.38e-07/0.7513, allocations: 0 / 0.8129 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004515/0.7517, allocations: 51.94 kB / 0.813 GB, free: 9.203 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 () * 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.0004581/0.7522, allocations: 172.7 kB / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.7525, allocations: 79.95 kB / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.401e-06/0.7526, allocations: 0 / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.7527, allocations: 43.92 kB / 0.8133 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.7529, allocations: 5.672 kB / 0.8133 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.7535, allocations: 207.2 kB / 0.8135 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.7538, allocations: 0.6926 MB / 0.8141 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.7539, allocations: 4.188 kB / 0.8141 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.754, allocations: 11.44 kB / 0.8142 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.754, allocations: 0 / 0.8142 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of Templates: time 0.005552/0.7595, allocations: 1.528 MB / 0.8156 GB, free: 6.426 MB / 0.6355 GB