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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01113/0.01113, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001228/0.001228, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.031/2.031, allocations: 194.5 MB / 211.3 MB, free: 10.99 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.396/2.396, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004914, allocations: 8 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.666/0.6665, allocations: 98.72 MB / 0.6834 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001876/0.6684, allocations: 1.166 MB / 0.6846 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.6701, allocations: 0.7094 MB / 0.6853 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.6701, allocations: 0 / 0.6853 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.6702, allocations: 5.125 kB / 0.6853 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.6703, allocations: 15.55 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.6709, allocations: 92.2 kB / 0.6854 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.671, allocations: 44.98 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.6711, allocations: 11.56 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.6712, allocations: 30.61 kB / 0.6854 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.6713, allocations: 40.19 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.6714, allocations: 4.219 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.6716, allocations: 65.17 kB / 0.6856 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.6716, allocations: 14.95 kB / 0.6856 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.6717, allocations: 38.62 kB / 0.6856 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.6719, allocations: 92.34 kB / 0.6857 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.672, allocations: 0 / 0.6857 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.672, allocations: 0 / 0.6857 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.672, allocations: 0 / 0.6857 GB, free: 15.37 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.0006871/0.6727, allocations: 417.8 kB / 0.6861 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6727, allocations: 9.125 kB / 0.6861 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.6728, allocations: 32.45 kB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.6728, allocations: 12.56 kB / 0.6861 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.673, allocations: 176 kB / 0.6863 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6731, allocations: 7.984 kB / 0.6863 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.6731, allocations: 2.812 kB / 0.6863 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.6734, allocations: 71.17 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6734, allocations: 3.938 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.6734, allocations: 1.344 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.6734, allocations: 1.844 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.6737, allocations: 47.67 kB / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.6745, allocations: 312.4 kB / 0.6867 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.6747, allocations: 51.7 kB / 0.6868 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.6747, allocations: 1.219 kB / 0.6868 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.675, allocations: 85 kB / 0.6869 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.675, allocations: 0 / 0.6869 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006054/0.6756, allocations: 151.9 kB / 0.687 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6757, allocations: 58.52 kB / 0.6871 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.6758, allocations: 118.3 kB / 0.6872 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6758, allocations: 27.2 kB / 0.6872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.6759, allocations: 96.45 kB / 0.6873 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.6759, allocations: 15.17 kB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.676, allocations: 9.094 kB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.676, allocations: 320 kB / 0.6876 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.6762, allocations: 29.05 kB / 0.6877 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.6763, allocations: 52.25 kB / 0.6877 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.6765, allocations: 44.53 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6765, allocations: 0 / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004427/0.677, allocations: 116.4 kB / 0.6879 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.677, allocations: 6.094 kB / 0.6879 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.677, allocations: 1.125 kB / 0.6879 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6771, allocations: 6.016 kB / 0.6879 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.6772, allocations: 15.03 kB / 0.6879 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6773, allocations: 6.781 kB / 0.6879 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.6774, allocations: 17.89 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.6774, allocations: 8.297 kB / 0.6879 GB, free: 13.39 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 0.0001037/0.6775, allocations: 115.4 kB / 0.688 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.6776, allocations: 6.875 kB / 0.688 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.6776, allocations: 15.56 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6776, allocations: 6.266 kB / 0.6881 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6777, allocations: 0 / 0.6881 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6777, allocations: 0 / 0.6881 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.6783, allocations: 387.8 kB / 0.6884 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6783, allocations: 1.188 kB / 0.6884 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.6784, allocations: 5.422 kB / 0.6884 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6784, allocations: 5.266 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6784, allocations: 2.781 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6785, allocations: 0 / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6785, allocations: 4.656 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.6789, allocations: 208.8 kB / 0.6886 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.6789, allocations: 84.25 kB / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.679, allocations: 9.422 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6791, allocations: 9.375 kB / 0.6887 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.6792, allocations: 8.906 kB / 0.6887 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.6792, allocations: 4.453 kB / 0.6888 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.6793, allocations: 95.92 kB / 0.6888 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6793, allocations: 0 / 0.6888 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004618/0.6798, allocations: 42.08 kB / 0.6889 GB, free: 12.54 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.0009703/0.6807, allocations: 0.802 MB / 0.6897 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.6812, allocations: 90.2 kB / 0.6898 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6812, allocations: 0 / 0.6898 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.6814, allocations: 39.8 kB / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6816, allocations: 15.22 kB / 0.6898 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.6825, allocations: 0.7181 MB / 0.6905 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.6827, allocations: 0.6942 MB / 0.6912 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.6828, allocations: 4.656 kB / 0.6912 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.6828, allocations: 21.03 kB / 0.6912 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/0.6829, allocations: 0 / 0.6912 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.7091, allocations: 2.327 MB / 0.6935 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.7094, allocations: 253.2 kB / 0.6937 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.21, allocations: 0 / 0.6937 GB, free: 9.785 MB / 0.5261 GB