Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01698/0.01699, allocations: 106.5 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.002156/0.002156, allocations: 184.9 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.134/2.134, allocations: 194.6 MB / 211.3 MB, free: 10.85 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.499/2.499, allocations: 236.2 MB / 492.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006504/0.0006507, allocations: 8 kB / 0.587 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7734, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002049/0.7755, allocations: 1.204 MB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.7773, allocations: 0.7268 MB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.7774, allocations: 1.281 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.7774, allocations: 0.7031 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.7775, allocations: 19.75 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.7782, allocations: 105.7 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.7784, allocations: 60.77 kB / 0.6855 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.7785, allocations: 11.2 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.7786, allocations: 34.03 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.7787, allocations: 58.75 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.7788, allocations: 5.312 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.779, allocations: 65.81 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.7791, allocations: 18.34 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.7791, allocations: 37.58 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.7794, allocations: 116.4 kB / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.7794, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7794, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.7794, allocations: 0 / 0.6858 GB, free: 15.11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007927/0.7802, allocations: 449.2 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7803, allocations: 9.859 kB / 0.6863 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.7804, allocations: 38.5 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.7804, allocations: 11.27 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.7805, allocations: 172.7 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.7806, allocations: 8.781 kB / 0.6865 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.7806, allocations: 8.047 kB / 0.6865 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.781, allocations: 93.16 kB / 0.6866 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.781, allocations: 0 / 0.6866 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.7811, allocations: 5.781 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7811, allocations: 1.25 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.7814, allocations: 56.19 kB / 0.6866 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.7825, allocations: 342.4 kB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.7828, allocations: 64.83 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.7829, allocations: 6.016 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.7832, allocations: 95.81 kB / 0.6871 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.855e-06/0.7832, allocations: 0 / 0.6871 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0009685/0.7842, allocations: 207.1 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.7843, allocations: 54.64 kB / 0.6874 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.7844, allocations: 122.4 kB / 0.6875 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.7844, allocations: 31.2 kB / 0.6875 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.7845, allocations: 92.91 kB / 0.6876 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.7846, allocations: 20.16 kB / 0.6876 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.7846, allocations: 4 kB / 0.6876 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.7847, allocations: 328.5 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7848, allocations: 31.95 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.785, allocations: 64.5 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.7852, allocations: 42.11 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7852, allocations: 1.156 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004273/0.7856, allocations: 143.7 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7857, allocations: 10.69 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.7857, allocations: 0 / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.7857, allocations: 6.328 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7859, allocations: 19.86 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7859, allocations: 1.219 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.7861, allocations: 12.11 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.7861, allocations: 4.75 kB / 0.6883 GB, free: 13.04 MB / 0.5261 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.0001137/0.7862, allocations: 124.5 kB / 0.6884 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.7863, allocations: 7.219 kB / 0.6884 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.7863, allocations: 12.2 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.7863, allocations: 1.188 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7863, allocations: 3.953 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7864, allocations: 4.969 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.7873, allocations: 435.2 kB / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7873, allocations: 0 / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.7874, allocations: 6.359 kB / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7874, allocations: 1.125 kB / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.7874, allocations: 7.125 kB / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7874, allocations: 0 / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7874, allocations: 2.391 kB / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.7881, allocations: 261.4 kB / 0.6891 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.7882, allocations: 84.45 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.7882, allocations: 5.219 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.7884, allocations: 13 kB / 0.6892 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.7885, allocations: 4.734 kB / 0.6892 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.7885, allocations: 8.703 kB / 0.6892 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.7886, allocations: 106.7 kB / 0.6893 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7886, allocations: 0 / 0.6893 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000477/0.7891, allocations: 42.81 kB / 0.6894 GB, free: 12.14 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: 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.001195/0.7903, allocations: 0.8389 MB / 0.6902 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.7908, allocations: 103.6 kB / 0.6903 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7908, allocations: 0 / 0.6903 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.7911, allocations: 52.02 kB / 0.6903 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.7914, allocations: 14.11 kB / 0.6903 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.7926, allocations: 1.06 MB / 0.6914 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.7928, allocations: 0.6931 MB / 0.692 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.21e-05/0.7929, allocations: 8.969 kB / 0.6921 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.793, allocations: 22.84 kB / 0.6921 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of SimCode: time 2.615e-06/0.793, allocations: 0 / 0.6921 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.8201, allocations: 2.664 MB / 0.6947 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.8204, allocations: 239.4 kB / 0.6949 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.347, allocations: 3.281 kB / 0.6949 GB, free: 9.086 MB / 0.5261 GB