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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.507/4.507, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.347e-05, allocations: 5.438 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2568, allocations: 98.74 MB / 0.6289 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2581/0.5149, allocations: 125.7 MB / 0.7517 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5153, allocations: 79.95 kB / 0.7518 GB, free: 11.19 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01411/0.5294, allocations: 2.912 MB / 0.7546 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5295, allocations: 0 / 0.7546 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5295, allocations: 4 kB / 0.7546 GB, free: 8.266 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.0006835/0.5302, allocations: 408 kB / 0.755 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5302, allocations: 12.03 kB / 0.755 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.5303, allocations: 7.953 kB / 0.755 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.5305, allocations: 178.9 kB / 0.7552 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5305, allocations: 4 kB / 0.7552 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.5306, allocations: 4 kB / 0.7552 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.5307, allocations: 23.94 kB / 0.7552 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5308, allocations: 53.67 kB / 0.7553 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5309, allocations: 4 kB / 0.7553 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.5309, allocations: 4 kB / 0.7553 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5309, allocations: 3.953 kB / 0.7553 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.5319, allocations: 281.4 kB / 0.7555 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.5321, allocations: 46.56 kB / 0.7556 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.5321, allocations: 21.59 kB / 0.7556 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.5322, allocations: 7.875 kB / 0.7556 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.5324, allocations: 71.45 kB / 0.7557 GB, free: 7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.5324, allocations: 0 / 0.7557 GB, free: 7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000334/0.5327, allocations: 97.52 kB / 0.7558 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.5328, allocations: 59.41 kB / 0.7558 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.5329, allocations: 109 kB / 0.7559 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.533, allocations: 25.7 kB / 0.756 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.5331, allocations: 100.2 kB / 0.7561 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5331, allocations: 7.891 kB / 0.7561 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.5331, allocations: 4 kB / 0.7561 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5333, allocations: 314.8 kB / 0.7564 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.5334, allocations: 20 kB / 0.7564 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.5335, allocations: 42.5 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.5336, allocations: 23.98 kB / 0.7565 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5336, allocations: 4 kB / 0.7565 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002632/0.5339, allocations: 89.52 kB / 0.7565 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5339, allocations: 4 kB / 0.7565 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5339, allocations: 0 / 0.7565 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5339, allocations: 4 kB / 0.7566 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.5341, allocations: 11.98 kB / 0.7566 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.5341, allocations: 8.016 kB / 0.7566 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5343, allocations: 15.83 kB / 0.7566 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5343, allocations: 4 kB / 0.7566 GB, free: 6.012 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.0001145/0.5344, allocations: 112.9 kB / 0.7567 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000259/0.5347, allocations: 89.67 kB / 0.7568 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.5347, allocations: 7.906 kB / 0.7568 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.5348, allocations: 4.625 kB / 0.7568 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5348, allocations: 3.953 kB / 0.7568 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5348, allocations: 7.938 kB / 0.7568 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5348, allocations: 7.969 kB / 0.7568 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.5354, allocations: 339.1 kB / 0.7571 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.5354, allocations: 0 / 0.7571 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.5355, allocations: 4 kB / 0.7571 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5355, allocations: 3.984 kB / 0.7571 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5355, allocations: 3.953 kB / 0.7572 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5355, allocations: 4 kB / 0.7572 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5356, allocations: 8 kB / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.5359, allocations: 187.4 kB / 0.7573 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.5359, allocations: 81.02 kB / 0.7574 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.536, allocations: 3.984 kB / 0.7574 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.5361, allocations: 9.641 kB / 0.7574 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.5362, allocations: 7.984 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5362, allocations: 4 kB / 0.7574 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.5363, allocations: 91.28 kB / 0.7575 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5363, allocations: 0 / 0.7575 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004804/0.5368, allocations: 51.92 kB / 0.7576 GB, free: 4.906 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.00107/0.5379, allocations: 0.8055 MB / 0.7584 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.5381, allocations: 55.92 kB / 0.7584 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5382, allocations: 0 / 0.7584 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.5383, allocations: 24 kB / 0.7584 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.5385, allocations: 7.938 kB / 0.7584 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.5392, allocations: 146.2 kB / 0.7586 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5396, allocations: 0.6963 MB / 0.7593 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.5396, allocations: 4.188 kB / 0.7593 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.5397, allocations: 23.42 kB / 0.7593 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/0.5397, allocations: 0 / 0.7593 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.579, allocations: 2.187 MB / 0.7614 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004293/0.5795, allocations: 207.8 kB / 0.7616 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.253, allocations: 0 / 0.7616 GB, free: 0.625 MB / 0.6355 GB