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.009024/0.009029, allocations: 109.6 kB / 15.06 MB, free: 5.562 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.001144/0.001144, allocations: 182.6 kB / 15.95 MB, free: 5.523 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.037/2.037, allocations: 194.5 MB / 211.3 MB, free: 10.94 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.268/2.268, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.000524, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.541, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001528/0.5426, allocations: 1.17 MB / 0.6845 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.5439, allocations: 0.713 MB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.544, allocations: 0 / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.544, allocations: 0.7031 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.5441, allocations: 11.38 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.5446, allocations: 92.11 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.5447, allocations: 49.91 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.5448, allocations: 11.12 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.5449, allocations: 35.05 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.545, allocations: 31.92 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.545, allocations: 2.688 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.5452, allocations: 71.05 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.5453, allocations: 10.69 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.5453, allocations: 42.39 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.5455, allocations: 95.28 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.764e-06/0.5455, allocations: 0 / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.99e-06/0.5455, allocations: 0 / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.933e-06/0.5456, allocations: 0 / 0.6856 GB, free: 15.25 MB / 0.5261 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.0005215/0.5461, allocations: 405.6 kB / 0.686 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5461, allocations: 9.562 kB / 0.686 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.5462, allocations: 16.86 kB / 0.686 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.5463, allocations: 174.6 kB / 0.6862 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.5463, allocations: 4.344 kB / 0.6862 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5463, allocations: 2.969 kB / 0.6862 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.5466, allocations: 71.53 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5466, allocations: 3.984 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5466, allocations: 0.6562 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5466, allocations: 1.062 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.5468, allocations: 53.92 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.5475, allocations: 314.5 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.5476, allocations: 52.45 kB / 0.6867 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.5477, allocations: 1.562 kB / 0.6867 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.5479, allocations: 80.02 kB / 0.6867 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.85e-06/0.5479, allocations: 0 / 0.6867 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005112/0.5484, allocations: 161.8 kB / 0.6869 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5485, allocations: 53.25 kB / 0.6869 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.5486, allocations: 121.6 kB / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5486, allocations: 31.73 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.5487, allocations: 92.31 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.5487, allocations: 13 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-06/0.5488, allocations: 4 kB / 0.6872 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.5488, allocations: 319.5 kB / 0.6875 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.549, allocations: 29.11 kB / 0.6875 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.5491, allocations: 60.92 kB / 0.6876 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.5492, allocations: 38.92 kB / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-06/0.5493, allocations: 0 / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003417/0.5496, allocations: 116.8 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5496, allocations: 8.375 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-06/0.5497, allocations: 4.062 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5497, allocations: 6.547 kB / 0.6878 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5498, allocations: 12.47 kB / 0.6878 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.18e-06/0.5498, allocations: 1.188 kB / 0.6878 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.55, allocations: 14.02 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.55, allocations: 5.047 kB / 0.6878 GB, free: 13.32 MB / 0.5261 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 (win.occ,$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 9.562e-05/0.5501, allocations: 123.1 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.5501, allocations: 10.66 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.5502, allocations: 7.062 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-06/0.5502, allocations: 1.312 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-06/0.5502, allocations: 4.656 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-06/0.5502, allocations: 1.375 kB / 0.6879 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.5508, allocations: 382.9 kB / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5508, allocations: 5.859 kB / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.5509, allocations: 5.531 kB / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.042e-06/0.5509, allocations: 0 / 0.6883 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.551, allocations: 9.188 kB / 0.6883 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-06/0.551, allocations: 0 / 0.6883 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-06/0.551, allocations: 4 kB / 0.6883 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.5514, allocations: 219.5 kB / 0.6885 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.5514, allocations: 79.84 kB / 0.6886 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.5514, allocations: 1.562 kB / 0.6886 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5516, allocations: 9.922 kB / 0.6886 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.5517, allocations: 5.953 kB / 0.6886 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5517, allocations: 6.859 kB / 0.6886 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.5517, allocations: 96.17 kB / 0.6887 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.47e-06/0.5518, allocations: 0 / 0.6887 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004329/0.5522, allocations: 53.36 kB / 0.6888 GB, free: 12.46 MB / 0.5261 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,win.occ,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.0004411/0.5527, allocations: 160.5 kB / 0.6889 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.553, allocations: 84.92 kB / 0.689 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.553, allocations: 4.812 kB / 0.689 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.5532, allocations: 35.73 kB / 0.689 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.5534, allocations: 3.734 kB / 0.689 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.5539, allocations: 211.6 kB / 0.6892 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.554, allocations: 0.6906 MB / 0.6899 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.265e-05/0.5541, allocations: 9.266 kB / 0.6899 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.5542, allocations: 12.41 kB / 0.6899 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.442e-06/0.5542, allocations: 0 / 0.6899 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.006798/0.561, allocations: 1.328 MB / 0.6912 GB, free: 11.32 MB / 0.5261 GB