Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01036/0.01037, allocations: 89.83 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001159/0.001159, allocations: 172.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.307/2.307, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.602/2.602, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006588, allocations: 13.97 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2522, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.0025/0.2548, allocations: 1.324 MB / 0.7294 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.2571, allocations: 0.7844 MB / 0.7301 GB, free: 8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.2573, allocations: 0 / 0.7301 GB, free: 8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.2573, allocations: 3.938 kB / 0.7301 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.2575, allocations: 27.89 kB / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.2583, allocations: 115.7 kB / 0.7303 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.2585, allocations: 91.81 kB / 0.7304 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2587, allocations: 25.08 kB / 0.7304 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.2589, allocations: 55.83 kB / 0.7304 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.2591, allocations: 75.72 kB / 0.7305 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.2592, allocations: 4 kB / 0.7305 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2595, allocations: 67.94 kB / 0.7306 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.2596, allocations: 31.89 kB / 0.7306 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.2596, allocations: 45.64 kB / 0.7306 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.26, allocations: 151.8 kB / 0.7308 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2601, allocations: 0 / 0.7308 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2601, allocations: 0 / 0.7308 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2601, allocations: 0 / 0.7308 GB, free: 7.312 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001245/0.2614, allocations: 0.5212 MB / 0.7313 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.2614, allocations: 8.031 kB / 0.7313 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.2615, allocations: 38.55 kB / 0.7313 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.2616, allocations: 15.86 kB / 0.7314 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2618, allocations: 178.9 kB / 0.7315 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.2619, allocations: 11.98 kB / 0.7315 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2619, allocations: 7.938 kB / 0.7315 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.263, allocations: 149.6 kB / 0.7317 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.263, allocations: 4 kB / 0.7317 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.263, allocations: 0 / 0.7317 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.263, allocations: 0 / 0.7317 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2641, allocations: 139.8 kB / 0.7318 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.2657, allocations: 392.5 kB / 0.7322 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.2666, allocations: 114.5 kB / 0.7323 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.2667, allocations: 4.141 kB / 0.7323 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.2678, allocations: 155.2 kB / 0.7325 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 4.358e-06/0.2678, allocations: 0 / 0.7325 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.00306/0.2709, allocations: 357.3 kB / 0.7328 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.271, allocations: 59.33 kB / 0.7329 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.2712, allocations: 149.7 kB / 0.733 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.2713, allocations: 29.7 kB / 0.733 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2714, allocations: 100.4 kB / 0.7331 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.2715, allocations: 23.7 kB / 0.7331 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.2716, allocations: 4 kB / 0.7332 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2718, allocations: 323.2 kB / 0.7335 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.2721, allocations: 47.97 kB / 0.7335 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.2726, allocations: 85.12 kB / 0.7336 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.273, allocations: 51.97 kB / 0.7336 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.273, allocations: 7.938 kB / 0.7336 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009585/0.274, allocations: 165.4 kB / 0.7338 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.274, allocations: 8.125 kB / 0.7338 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2741, allocations: 3.953 kB / 0.7338 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2741, allocations: 4 kB / 0.7338 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.2745, allocations: 27.91 kB / 0.7338 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2745, allocations: 4 kB / 0.7338 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2748, allocations: 19.84 kB / 0.7339 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.2749, allocations: 7.984 kB / 0.7339 GB, free: 3.883 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002054/0.2751, allocations: 125.8 kB / 0.734 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2752, allocations: 7.906 kB / 0.734 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.2752, allocations: 16.92 kB / 0.734 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2753, allocations: 11.88 kB / 0.734 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2753, allocations: 3.984 kB / 0.734 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2753, allocations: 0 / 0.734 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.2777, allocations: 0.549 MB / 0.7346 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2777, allocations: 0 / 0.7346 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.2779, allocations: 15.98 kB / 0.7346 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.278, allocations: 11.94 kB / 0.7346 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.278, allocations: 8 kB / 0.7346 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.278, allocations: 0 / 0.7346 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2781, allocations: 0 / 0.7346 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.2801, allocations: 355.2 kB / 0.7349 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.2802, allocations: 88.95 kB / 0.735 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.2803, allocations: 11.95 kB / 0.735 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.2809, allocations: 23.97 kB / 0.7351 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.281, allocations: 15.98 kB / 0.7351 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.281, allocations: 7.984 kB / 0.7351 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001523/0.2812, allocations: 111.4 kB / 0.7352 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2812, allocations: 0 / 0.7352 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007673/0.282, allocations: 47.94 kB / 0.7352 GB, free: 2.383 MB / 0.5573 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.002939/0.285, allocations: 0.9551 MB / 0.7362 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.2864, allocations: 159.8 kB / 0.7363 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.089e-05/0.2864, allocations: 0 / 0.7363 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008995/0.2873, allocations: 112.1 kB / 0.7364 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.2878, allocations: 11.94 kB / 0.7364 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2903, allocations: 1.294 MB / 0.7377 GB, free: 15.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.2908, allocations: 0.7018 MB / 0.7384 GB, free: 15.05 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.2909, allocations: 12.17 kB / 0.7384 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2911, allocations: 35.41 kB / 0.7384 GB, free: 15.01 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.2911, allocations: 0 / 0.7384 GB, free: 15.01 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06304/0.3542, allocations: 3.054 MB / 0.7414 GB, free: 12.07 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003942/0.3546, allocations: 255.4 kB / 0.7417 GB, free: 11.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/2.847, allocations: 4 kB / 0.7417 GB, free: 11.73 MB / 0.573 GB