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.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.01418/0.01418, allocations: 87.92 kB / 15.04 MB, free: 5.582 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.001854/0.001854, allocations: 174.5 kB / 15.92 MB, free: 5.555 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.314/2.314, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.69/2.69, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 13.03 kB / 0.6243 GB, free: 28.44 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002323/0.2351, allocations: 1.214 MB / 0.7293 GB, free: 8.965 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.237, allocations: 0.75 MB / 0.73 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2372, allocations: 4 kB / 0.73 GB, free: 8.203 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.2372, allocations: 0 / 0.73 GB, free: 8.203 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.2373, allocations: 11.92 kB / 0.73 GB, free: 8.191 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.2381, allocations: 111.7 kB / 0.7301 GB, free: 8.082 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2382, allocations: 55.86 kB / 0.7302 GB, free: 8.027 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2383, allocations: 15.97 kB / 0.7302 GB, free: 8.012 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2385, allocations: 43.86 kB / 0.7302 GB, free: 7.969 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2386, allocations: 51.8 kB / 0.7303 GB, free: 7.918 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.2387, allocations: 4 kB / 0.7303 GB, free: 7.914 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2389, allocations: 71.86 kB / 0.7303 GB, free: 7.844 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.239, allocations: 19.92 kB / 0.7304 GB, free: 7.824 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.2391, allocations: 33.7 kB / 0.7304 GB, free: 7.785 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2393, allocations: 124 kB / 0.7305 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2394, allocations: 0 / 0.7305 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2394, allocations: 0 / 0.7305 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2394, allocations: 0 / 0.7305 GB, free: 7.664 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008794/0.2403, allocations: 442.5 kB / 0.7309 GB, free: 7.172 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.2403, allocations: 8.031 kB / 0.7309 GB, free: 7.164 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.2404, allocations: 38.5 kB / 0.731 GB, free: 7.117 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.2405, allocations: 15.84 kB / 0.731 GB, free: 7.102 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2406, allocations: 171 kB / 0.7312 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2407, allocations: 4 kB / 0.7312 GB, free: 6.891 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2407, allocations: 8 kB / 0.7312 GB, free: 6.883 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.2411, allocations: 89.62 kB / 0.7313 GB, free: 6.789 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2412, allocations: 3.938 kB / 0.7313 GB, free: 6.785 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.2412, allocations: 3.984 kB / 0.7313 GB, free: 6.781 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.2412, allocations: 4 kB / 0.7313 GB, free: 6.777 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.2416, allocations: 55.91 kB / 0.7313 GB, free: 6.723 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2427, allocations: 352.6 kB / 0.7317 GB, free: 6.328 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.2431, allocations: 70.58 kB / 0.7317 GB, free: 6.25 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2431, allocations: 4 kB / 0.7317 GB, free: 6.246 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.2435, allocations: 87.36 kB / 0.7318 GB, free: 6.148 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.2435, allocations: 0 / 0.7318 GB, free: 6.148 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8): time 0.000986/0.2445, allocations: 205.6 kB / 0.732 GB, free: 5.941 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.2446, allocations: 63.34 kB / 0.7321 GB, free: 5.867 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2448, allocations: 121.8 kB / 0.7322 GB, free: 5.738 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.2448, allocations: 29.7 kB / 0.7322 GB, free: 5.703 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2449, allocations: 92.12 kB / 0.7323 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.245, allocations: 19.81 kB / 0.7323 GB, free: 5.59 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.245, allocations: 0 / 0.7323 GB, free: 5.59 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2452, allocations: 318.8 kB / 0.7326 GB, free: 5.27 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2453, allocations: 31.98 kB / 0.7326 GB, free: 5.238 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.2455, allocations: 76.2 kB / 0.7327 GB, free: 5.148 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2457, allocations: 35.98 kB / 0.7328 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2457, allocations: 0 / 0.7328 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004754/0.2462, allocations: 141.5 kB / 0.7329 GB, free: 4.969 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.2463, allocations: 8 kB / 0.7329 GB, free: 4.961 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2463, allocations: 0 / 0.7329 GB, free: 4.961 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.2463, allocations: 7.953 kB / 0.7329 GB, free: 4.953 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2465, allocations: 11.98 kB / 0.7329 GB, free: 4.941 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2466, allocations: 7.938 kB / 0.7329 GB, free: 4.934 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2467, allocations: 15.83 kB / 0.7329 GB, free: 4.918 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2467, allocations: 4 kB / 0.7329 GB, free: 4.914 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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.0001463/0.2469, allocations: 125.9 kB / 0.7331 GB, free: 4.781 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.2469, allocations: 7.906 kB / 0.7331 GB, free: 4.773 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.247, allocations: 8.375 kB / 0.7331 GB, free: 4.766 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.247, allocations: 7.984 kB / 0.7331 GB, free: 4.758 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.247, allocations: 3.953 kB / 0.7331 GB, free: 4.754 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.247, allocations: 0 / 0.7331 GB, free: 4.754 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2481, allocations: 430.4 kB / 0.7335 GB, free: 4.277 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2481, allocations: 0 / 0.7335 GB, free: 4.277 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.2482, allocations: 11.98 kB / 0.7335 GB, free: 4.266 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2482, allocations: 0 / 0.7335 GB, free: 4.266 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2482, allocations: 3.953 kB / 0.7335 GB, free: 4.262 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2483, allocations: 3.938 kB / 0.7335 GB, free: 4.258 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2483, allocations: 400 / 0.7335 GB, free: 4.258 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.249, allocations: 263.3 kB / 0.7338 GB, free: 3.984 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.2491, allocations: 81.02 kB / 0.7338 GB, free: 3.887 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.2492, allocations: 4 kB / 0.7339 GB, free: 3.883 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2494, allocations: 15.94 kB / 0.7339 GB, free: 3.867 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.2495, allocations: 8 kB / 0.7339 GB, free: 3.859 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2495, allocations: 3.984 kB / 0.7339 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.2496, allocations: 100 kB / 0.734 GB, free: 3.758 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2496, allocations: 0 / 0.734 GB, free: 3.758 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004587/0.2501, allocations: 43.94 kB / 0.734 GB, free: 3.715 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001472/0.2516, allocations: 0.8542 MB / 0.7349 GB, free: 2.852 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.2521, allocations: 95.89 kB / 0.7349 GB, free: 2.758 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2522, allocations: 3.938 kB / 0.7349 GB, free: 2.754 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.2524, allocations: 51.97 kB / 0.735 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2527, allocations: 20.12 kB / 0.735 GB, free: 2.684 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2542, allocations: 1.051 MB / 0.736 GB, free: 1.562 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2546, allocations: 0.6965 MB / 0.7367 GB, free: 0.8398 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.2547, allocations: 4 kB / 0.7367 GB, free: 0.8359 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.2548, allocations: 23.42 kB / 0.7367 GB, free: 0.8164 MB / 0.5574 GB Notification: Performance of SimCode: time 1.032e-06/0.2548, allocations: 0 / 0.7367 GB, free: 0.8164 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.2815, allocations: 2.647 MB / 0.7393 GB, free: 14.28 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.2818, allocations: 246.9 kB / 0.7396 GB, free: 14.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/2.795, allocations: 0 / 0.7396 GB, free: 14.04 MB / 0.573 GB