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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.0129/0.0129, allocations: 221.1 kB / 15.17 MB, free: 5.93 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.001222/0.001221, allocations: 178.2 kB / 16.06 MB, free: 5.832 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 3.841/3.841, allocations: 389 MB / 405.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.261/4.261, allocations: 472.3 MB / 0.9017 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004884, allocations: 11.98 kB / 1.008 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7082, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001921/0.7102, allocations: 1.201 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.7117, allocations: 0.7022 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.7118, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.7118, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.7119, allocations: 14.17 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.7124, allocations: 93.12 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.7125, allocations: 64.45 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.7126, allocations: 11.55 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.7127, allocations: 32.55 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.7128, allocations: 35.45 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.7129, allocations: 8.906 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.7131, allocations: 81.53 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.7131, allocations: 9.25 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.7132, allocations: 34.89 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.7134, allocations: 103.6 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7134, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7134, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7134, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 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.0006086/0.714, allocations: 411.6 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7141, allocations: 7.625 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.7141, allocations: 38.08 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.7142, allocations: 13.58 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.7143, allocations: 174.3 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.7143, allocations: 5.406 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.7143, allocations: 4.453 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.7146, allocations: 77.19 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7146, allocations: 6.875 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7146, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7147, allocations: 2.031 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.7149, allocations: 44.34 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.7157, allocations: 317.4 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.7159, allocations: 45.95 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.716, allocations: 41.47 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.7161, allocations: 3.797 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.7163, allocations: 85.22 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.7163, allocations: 3.5 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005912/0.7169, allocations: 145.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.717, allocations: 52.78 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.7171, allocations: 131.8 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.7171, allocations: 30.08 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.7172, allocations: 90.86 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.7172, allocations: 15.7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.7172, allocations: 1.375 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.7173, allocations: 318.8 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.7174, allocations: 33.41 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.7176, allocations: 57.78 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.7177, allocations: 27.22 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7178, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00037/0.7181, allocations: 123.8 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7182, allocations: 5.812 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7182, allocations: 3.953 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.7182, allocations: 4.75 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.7184, allocations: 17.56 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7184, allocations: 1.156 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.7185, allocations: 15.66 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.7186, allocations: 7.938 kB / 1.109 GB, free: 209.5 MB / 0.7292 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 9.695e-05/0.7187, allocations: 117.5 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.7187, allocations: 9.047 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.7187, allocations: 9.75 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7188, allocations: 8.297 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7188, allocations: 1.125 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7188, allocations: 2.906 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.7194, allocations: 378 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7194, allocations: 4.688 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.7195, allocations: 7.656 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7195, allocations: 3.953 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7196, allocations: 2.984 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7196, allocations: 4.938 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7196, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.72, allocations: 224.2 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.7201, allocations: 83.61 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.7201, allocations: 5.828 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.7203, allocations: 11.41 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.7203, allocations: 6.125 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.7204, allocations: 6.203 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.7204, allocations: 88.25 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7204, allocations: 0 / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004404/0.7209, allocations: 43.16 kB / 1.11 GB, free: 208.7 MB / 0.7292 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.0009529/0.7218, allocations: 0.8075 MB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.7222, allocations: 85.25 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7222, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.7224, allocations: 40.77 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.7228, allocations: 9.453 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.7242, allocations: 0.5988 MB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.7244, allocations: 0.6928 MB / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.7245, allocations: 6.062 kB / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.7245, allocations: 21.39 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.7245, allocations: 0 / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.7509, allocations: 2.328 MB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.7513, allocations: 255.1 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.143, allocations: 0.5312 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB