Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.0145/0.01451, allocations: 89.17 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.0017/0.0017, allocations: 171.8 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.257/2.257, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.575/2.575, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.0006479, allocations: 13.66 kB / 0.6243 GB, free: 21.04 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2614, allocations: 106.2 MB / 0.7281 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001641/0.2631, allocations: 0.9452 MB / 0.729 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2641, allocations: 406 kB / 0.7294 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.2642, allocations: 3.938 kB / 0.7294 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.2642, allocations: 0 / 0.7294 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.2643, allocations: 0 / 0.7294 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.2648, allocations: 75.78 kB / 0.7294 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.2648, allocations: 7.938 kB / 0.7294 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.2649, allocations: 4 kB / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.2649, allocations: 15.97 kB / 0.7295 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.265, allocations: 0 / 0.7295 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.265, allocations: 4 kB / 0.7295 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.2652, allocations: 83.8 kB / 0.7295 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2653, allocations: 7.984 kB / 0.7296 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.2653, allocations: 25.7 kB / 0.7296 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2655, allocations: 63.91 kB / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2655, allocations: 0 / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2655, allocations: 0 / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2655, allocations: 0 / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005524/0.2661, allocations: 369.3 kB / 0.73 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2662, allocations: 12.03 kB / 0.73 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.2662, allocations: 42.5 kB / 0.73 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2663, allocations: 3.906 kB / 0.73 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2664, allocations: 167 kB / 0.7302 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2665, allocations: 0 / 0.7302 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2665, allocations: 7.938 kB / 0.7302 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.2666, allocations: 41.67 kB / 0.7303 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2666, allocations: 0 / 0.7303 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2667, allocations: 4 kB / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2667, allocations: 0 / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.2667, allocations: 4 kB / 0.7303 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.2671, allocations: 256.9 kB / 0.7305 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2673, allocations: 30.56 kB / 0.7305 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2673, allocations: 4 kB / 0.7305 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2675, allocations: 63.47 kB / 0.7306 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.2675, allocations: 3.938 kB / 0.7306 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0002863/0.2678, allocations: 73.62 kB / 0.7307 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2679, allocations: 51.41 kB / 0.7307 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.2679, allocations: 109.7 kB / 0.7308 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.268, allocations: 29.7 kB / 0.7309 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.268, allocations: 80.14 kB / 0.7309 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.2681, allocations: 7.906 kB / 0.7309 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2681, allocations: 8 kB / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2682, allocations: 314.8 kB / 0.7312 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.2683, allocations: 8 kB / 0.7313 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.2683, allocations: 35.42 kB / 0.7313 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.2684, allocations: 20.11 kB / 0.7313 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2684, allocations: 0 / 0.7313 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001577/0.2686, allocations: 77.52 kB / 0.7314 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2686, allocations: 7.125 kB / 0.7314 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2686, allocations: 4 kB / 0.7314 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2686, allocations: 256 / 0.7314 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.2687, allocations: 8 kB / 0.7314 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2688, allocations: 4 kB / 0.7314 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.2688, allocations: 11.89 kB / 0.7314 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2688, allocations: 11.94 kB / 0.7314 GB, free: 4.43 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.288e-05/0.2689, allocations: 113.9 kB / 0.7315 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.269, allocations: 4 kB / 0.7315 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.269, allocations: 7.562 kB / 0.7315 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.269, allocations: 0 / 0.7315 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.269, allocations: 0 / 0.7315 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.269, allocations: 3.938 kB / 0.7316 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.2694, allocations: 298.6 kB / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2694, allocations: 0 / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.2695, allocations: 7.938 kB / 0.7318 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2695, allocations: 0 / 0.7318 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2695, allocations: 4 kB / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2695, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2695, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2697, allocations: 167.4 kB / 0.732 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.2698, allocations: 81.11 kB / 0.7321 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2698, allocations: 0 / 0.7321 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.2699, allocations: 0 / 0.7321 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.27, allocations: 7.922 kB / 0.7321 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.27, allocations: 8 kB / 0.7321 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.27, allocations: 87.23 kB / 0.7322 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2701, allocations: 0 / 0.7322 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004134/0.2705, allocations: 27.98 kB / 0.7322 GB, free: 3.527 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009862/0.2715, allocations: 0.7795 MB / 0.733 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.2717, allocations: 35.92 kB / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2717, allocations: 0 / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.2718, allocations: 8 kB / 0.733 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2719, allocations: 4 kB / 0.733 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.2729, allocations: 0.8172 MB / 0.7338 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2733, allocations: 0.6809 MB / 0.7345 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.2734, allocations: 3.984 kB / 0.7345 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2734, allocations: 15.44 kB / 0.7345 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.2734, allocations: 0 / 0.7345 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2964, allocations: 1.74 MB / 0.7362 GB, free: 15.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004004/0.2969, allocations: 236.2 kB / 0.7364 GB, free: 15.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.777, allocations: 0 / 0.7364 GB, free: 15.2 MB / 0.573 GB