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.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.01246/0.01246, allocations: 220.8 kB / 15.17 MB, free: 5.922 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.001145/0.001145, allocations: 174.9 kB / 16.06 MB, free: 5.828 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.566/3.566, allocations: 389.1 MB / 405.9 MB, free: 6.734 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.497/4.497, allocations: 472.3 MB / 0.9017 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006307, allocations: 15.98 kB / 1.008 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2089, allocations: 98.71 MB / 1.104 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002058/0.211, allocations: 1.199 MB / 1.105 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2127, allocations: 0.7027 MB / 1.106 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2128, allocations: 4 kB / 1.106 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.2128, allocations: 3.938 kB / 1.106 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.2129, allocations: 11.91 kB / 1.106 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2134, allocations: 91.66 kB / 1.106 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.2136, allocations: 71.77 kB / 1.106 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.2137, allocations: 19.91 kB / 1.106 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.2138, allocations: 23.92 kB / 1.106 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.2139, allocations: 39.83 kB / 1.106 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2139, allocations: 4 kB / 1.106 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.2142, allocations: 79.84 kB / 1.106 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.2142, allocations: 15.92 kB / 1.106 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.2143, allocations: 33.7 kB / 1.106 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.2145, allocations: 104 kB / 1.106 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2145, allocations: 4 kB / 1.106 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2145, allocations: 0 / 1.106 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2146, allocations: 0 / 1.106 GB, free: 1.34 MB / 0.7448 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.0006995/0.2153, allocations: 400.9 kB / 1.107 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2153, allocations: 11.97 kB / 1.107 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.2154, allocations: 38.55 kB / 1.107 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.2154, allocations: 11.91 kB / 1.107 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2156, allocations: 174.9 kB / 1.107 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2156, allocations: 4 kB / 1.107 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2157, allocations: 4 kB / 1.107 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.216, allocations: 69.66 kB / 1.107 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.216, allocations: 0 / 1.107 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.216, allocations: 4 kB / 1.107 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.216, allocations: 0 / 1.107 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.2162, allocations: 51.89 kB / 1.107 GB, free: 488 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.2171, allocations: 320.7 kB / 1.107 GB, free: 116 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.2173, allocations: 54.55 kB / 1.108 GB, free: 52 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.2174, allocations: 36.97 kB / 1.108 GB, free: 12 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2175, allocations: 0 / 1.108 GB, free: 12 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.2178, allocations: 83.31 kB / 1.108 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.2178, allocations: 4 kB / 1.108 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0006055/0.2184, allocations: 141.5 kB / 1.108 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2185, allocations: 59.42 kB / 1.108 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2186, allocations: 126.2 kB / 1.108 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2186, allocations: 25.7 kB / 1.108 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.2187, allocations: 96.23 kB / 1.108 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2188, allocations: 19.83 kB / 1.108 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.2188, allocations: 0 / 1.108 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2189, allocations: 314.8 kB / 1.108 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2191, allocations: 27.98 kB / 1.108 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2192, allocations: 67.39 kB / 1.109 GB, free: 15 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2194, allocations: 31.98 kB / 1.109 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2194, allocations: 4 kB / 1.109 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004181/0.2198, allocations: 121.5 kB / 1.109 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2199, allocations: 7.938 kB / 1.109 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2199, allocations: 0 / 1.109 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2199, allocations: 4 kB / 1.109 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2201, allocations: 15.92 kB / 1.109 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2201, allocations: 8.266 kB / 1.109 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2202, allocations: 11.91 kB / 1.109 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2203, allocations: 8.047 kB / 1.109 GB, free: 14.78 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$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 (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.0001185/0.2204, allocations: 117.9 kB / 1.109 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2204, allocations: 11.94 kB / 1.109 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.2205, allocations: 8.375 kB / 1.109 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2205, allocations: 4 kB / 1.109 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2205, allocations: 0 / 1.109 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2205, allocations: 7.938 kB / 1.109 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.2212, allocations: 390.3 kB / 1.109 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2212, allocations: 0 / 1.109 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.2213, allocations: 7.984 kB / 1.109 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2213, allocations: 4 kB / 1.109 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2213, allocations: 0 / 1.109 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2213, allocations: 3.953 kB / 1.109 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2213, allocations: 0 / 1.109 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.2218, allocations: 223.3 kB / 1.109 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.2218, allocations: 77.11 kB / 1.11 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.2219, allocations: 4 kB / 1.11 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.222, allocations: 7.984 kB / 1.11 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.2221, allocations: 7.953 kB / 1.11 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2221, allocations: 7.984 kB / 1.11 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.2222, allocations: 91.28 kB / 1.11 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2222, allocations: 0 / 1.11 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003954/0.2226, allocations: 35.98 kB / 1.11 GB, free: 13.69 MB / 0.7605 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,occ.y,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.001067/0.2237, allocations: 0.812 MB / 1.11 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.224, allocations: 79.89 kB / 1.111 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2241, allocations: 4.125 kB / 1.111 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2242, allocations: 35.92 kB / 1.111 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.2246, allocations: 19.88 kB / 1.111 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.226, allocations: 0.6126 MB / 1.111 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2263, allocations: 0.6926 MB / 1.112 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.2264, allocations: 4.562 kB / 1.112 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.2265, allocations: 19.44 kB / 1.112 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of SimCode: time 1.273e-06/0.2265, allocations: 0 / 1.112 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.2529, allocations: 2.345 MB / 1.114 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/0.2533, allocations: 251.4 kB / 1.114 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.645, allocations: 3.281 kB / 1.114 GB, free: 8.762 MB / 0.7605 GB