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.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0103/0.0103, allocations: 88.66 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.001221/0.001221, allocations: 175.2 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.089/2.089, allocations: 205.5 MB / 222.2 MB, free: 13.74 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.545/2.545, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007701/0.0007706, allocations: 10.41 kB / 0.6243 GB, free: 28.31 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.22, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002175/0.2223, allocations: 1.203 MB / 0.7292 GB, free: 8.961 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2241, allocations: 0.7227 MB / 0.7299 GB, free: 8.23 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.2242, allocations: 0 / 0.7299 GB, free: 8.23 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2243, allocations: 8 kB / 0.73 GB, free: 8.223 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.2243, allocations: 7.922 kB / 0.73 GB, free: 8.215 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.225, allocations: 95.69 kB / 0.7301 GB, free: 8.121 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2251, allocations: 43.89 kB / 0.7301 GB, free: 8.078 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.2252, allocations: 19.95 kB / 0.7301 GB, free: 8.059 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2253, allocations: 27.86 kB / 0.7301 GB, free: 8.031 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.2255, allocations: 39.89 kB / 0.7302 GB, free: 7.992 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.2255, allocations: 4 kB / 0.7302 GB, free: 7.988 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2257, allocations: 67.88 kB / 0.7302 GB, free: 7.922 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2258, allocations: 11.97 kB / 0.7303 GB, free: 7.91 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.2258, allocations: 37.64 kB / 0.7303 GB, free: 7.867 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.2261, allocations: 104 kB / 0.7304 GB, free: 7.766 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2261, allocations: 0 / 0.7304 GB, free: 7.766 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2261, allocations: 0 / 0.7304 GB, free: 7.766 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2261, allocations: 0 / 0.7304 GB, free: 7.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007284/0.2268, allocations: 400.9 kB / 0.7308 GB, free: 7.32 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2269, allocations: 12.03 kB / 0.7308 GB, free: 7.309 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.227, allocations: 34.56 kB / 0.7308 GB, free: 7.266 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.227, allocations: 15.84 kB / 0.7308 GB, free: 7.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2272, allocations: 178.8 kB / 0.731 GB, free: 7.035 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.2272, allocations: 0 / 0.731 GB, free: 7.035 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.2272, allocations: 8 kB / 0.731 GB, free: 7.027 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.2275, allocations: 77.59 kB / 0.7311 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2275, allocations: 0 / 0.7311 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2276, allocations: 3.984 kB / 0.7311 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2276, allocations: 0 / 0.7311 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.2278, allocations: 43.92 kB / 0.7311 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.2286, allocations: 316.8 kB / 0.7314 GB, free: 6.539 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2289, allocations: 58.48 kB / 0.7315 GB, free: 6.473 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2289, allocations: 0 / 0.7315 GB, free: 6.473 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.2292, allocations: 83.56 kB / 0.7316 GB, free: 6.379 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=7): time 2.564e-06/0.2292, allocations: 0 / 0.7316 GB, free: 6.379 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7): time 0.0006257/0.2298, allocations: 149.5 kB / 0.7317 GB, free: 6.227 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2299, allocations: 55.34 kB / 0.7318 GB, free: 6.16 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.23, allocations: 129.8 kB / 0.7319 GB, free: 6.023 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2301, allocations: 25.7 kB / 0.7319 GB, free: 5.992 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.2302, allocations: 96.23 kB / 0.732 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2302, allocations: 11.84 kB / 0.732 GB, free: 5.883 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2302, allocations: 4 kB / 0.732 GB, free: 5.879 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2303, allocations: 318.8 kB / 0.7323 GB, free: 5.559 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2305, allocations: 27.98 kB / 0.7323 GB, free: 5.531 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.2307, allocations: 54.55 kB / 0.7324 GB, free: 5.469 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.231, allocations: 35.98 kB / 0.7324 GB, free: 5.434 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.231, allocations: 0 / 0.7324 GB, free: 5.434 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004219/0.2314, allocations: 117.5 kB / 0.7325 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2314, allocations: 7.984 kB / 0.7326 GB, free: 5.305 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2315, allocations: 0 / 0.7326 GB, free: 5.305 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2315, allocations: 11.89 kB / 0.7326 GB, free: 5.293 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.2317, allocations: 11.94 kB / 0.7326 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2317, allocations: 0 / 0.7326 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2318, allocations: 19.89 kB / 0.7326 GB, free: 5.262 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2318, allocations: 4.062 kB / 0.7326 GB, free: 5.258 MB / 0.5574 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 0.0001229/0.232, allocations: 117.8 kB / 0.7327 GB, free: 5.133 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.232, allocations: 4 kB / 0.7327 GB, free: 5.129 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.232, allocations: 12.36 kB / 0.7327 GB, free: 5.117 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2321, allocations: 3.953 kB / 0.7327 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2321, allocations: 0 / 0.7327 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2321, allocations: 0 / 0.7327 GB, free: 5.113 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.2328, allocations: 398.3 kB / 0.7331 GB, free: 4.668 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2328, allocations: 0 / 0.7331 GB, free: 4.668 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.2329, allocations: 11.94 kB / 0.7331 GB, free: 4.656 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2329, allocations: 3.953 kB / 0.7331 GB, free: 4.652 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.233, allocations: 3.984 kB / 0.7331 GB, free: 4.648 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.233, allocations: 4 kB / 0.7331 GB, free: 4.645 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.233, allocations: 0 / 0.7331 GB, free: 4.645 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.2335, allocations: 215.8 kB / 0.7333 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.2336, allocations: 81.11 kB / 0.7334 GB, free: 4.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.2336, allocations: 7.953 kB / 0.7334 GB, free: 4.312 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2338, allocations: 7.984 kB / 0.7334 GB, free: 4.305 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.2338, allocations: 8 kB / 0.7334 GB, free: 4.297 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2339, allocations: 7.984 kB / 0.7334 GB, free: 4.289 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.2339, allocations: 91.27 kB / 0.7335 GB, free: 4.199 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.41e-07/0.234, allocations: 0 / 0.7335 GB, free: 4.199 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.000434/0.2344, allocations: 36 kB / 0.7336 GB, free: 4.164 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: 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.001182/0.2356, allocations: 0.8114 MB / 0.7344 GB, free: 3.344 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.236, allocations: 79.89 kB / 0.7344 GB, free: 3.266 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.236, allocations: 0 / 0.7344 GB, free: 3.266 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2362, allocations: 43.91 kB / 0.7345 GB, free: 3.223 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2365, allocations: 18.14 kB / 0.7345 GB, free: 3.207 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009593/0.2374, allocations: 0.7168 MB / 0.7352 GB, free: 2.43 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2377, allocations: 0.6926 MB / 0.7359 GB, free: 1.711 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.2378, allocations: 4.188 kB / 0.7359 GB, free: 1.707 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.2379, allocations: 23.42 kB / 0.7359 GB, free: 1.688 MB / 0.5574 GB Notification: Performance of SimCode: time 1.352e-06/0.2379, allocations: 0 / 0.7359 GB, free: 1.688 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.2628, allocations: 2.313 MB / 0.7382 GB, free: 15.48 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/0.2632, allocations: 243.8 kB / 0.7384 GB, free: 15.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/2.916, allocations: 64 / 0.7384 GB, free: 15.17 MB / 0.573 GB