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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.21/4.21, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.684e-05, allocations: 4.828 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2278, allocations: 98.74 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.555, allocations: 126.4 MB / 0.7581 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/0.5554, allocations: 79.89 kB / 0.7582 GB, free: 3.227 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.01805/0.5735, allocations: 2.929 MB / 0.7611 GB, free: 300 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5735, allocations: 0 / 0.7611 GB, free: 300 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5736, allocations: 0 / 0.7611 GB, free: 300 kB / 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.0008752/0.5745, allocations: 423.9 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.5745, allocations: 8.031 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.5746, allocations: 38.55 kB / 0.7615 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.5747, allocations: 7.953 kB / 0.7615 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.5749, allocations: 170.9 kB / 0.7617 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.5749, allocations: 4 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.575, allocations: 8 kB / 0.7617 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.5752, allocations: 57.67 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5753, allocations: 0 / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.5753, allocations: 4 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5753, allocations: 0 / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.5755, allocations: 35.91 kB / 0.7618 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5766, allocations: 312.8 kB / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.5768, allocations: 42.58 kB / 0.7621 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5769, allocations: 24.98 kB / 0.7622 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.577, allocations: 3.984 kB / 0.7622 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.5772, allocations: 75.33 kB / 0.7622 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.5772, allocations: 3.938 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.5777, allocations: 97.53 kB / 0.7623 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.5778, allocations: 55.48 kB / 0.7624 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5779, allocations: 113 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.578, allocations: 33.7 kB / 0.7625 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.5781, allocations: 96.16 kB / 0.7626 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5782, allocations: 11.91 kB / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.5782, allocations: 0 / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5784, allocations: 322.8 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.5785, allocations: 12 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.5787, allocations: 50.5 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.5788, allocations: 20 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5788, allocations: 0 / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003773/0.5792, allocations: 101.5 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.5792, allocations: 6.5 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5793, allocations: 0 / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5793, allocations: 0 / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5795, allocations: 27.94 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5796, allocations: 0 / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.5797, allocations: 11.91 kB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.5798, allocations: 7.984 kB / 0.7632 GB, free: 13.91 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.0001263/0.5799, allocations: 112.9 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.58, allocations: 4 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.58, allocations: 4.625 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.58, allocations: 0 / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5801, allocations: 11.95 kB / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5801, allocations: 0 / 0.7633 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.5809, allocations: 378.3 kB / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5809, allocations: 0 / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.581, allocations: 7.984 kB / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.581, allocations: 0 / 0.7637 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.581, allocations: 7.953 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5811, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5811, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.5815, allocations: 199.7 kB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.5816, allocations: 85 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.5817, allocations: 0 / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.5819, allocations: 7.953 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.582, allocations: 7.984 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.582, allocations: 8 kB / 0.764 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.839e-05/0.5821, allocations: 91.27 kB / 0.7641 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5821, allocations: 7.938 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007339/0.5829, allocations: 51.88 kB / 0.7641 GB, free: 12.84 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.001308/0.5842, allocations: 0.7939 MB / 0.7649 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.5845, allocations: 55.94 kB / 0.7649 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5845, allocations: 0 / 0.7649 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.5846, allocations: 31.92 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.5849, allocations: 15.89 kB / 0.765 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.5855, allocations: 155 kB / 0.7651 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5859, allocations: 0.6967 MB / 0.7658 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.43e-05/0.586, allocations: 4.188 kB / 0.7658 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.586, allocations: 19.42 kB / 0.7658 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/0.5861, allocations: 0 / 0.7658 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.6091, allocations: 2.516 MB / 0.7683 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/0.6095, allocations: 223.1 kB / 0.7685 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.228, allocations: 0 / 0.7685 GB, free: 8.332 MB / 0.6511 GB