Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.0116/0.0116, allocations: 109.3 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.001308/0.001308, allocations: 179.4 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 1.987/1.987, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.514/2.514, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.000654, allocations: 19.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7474, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00154/0.749, allocations: 0.9334 MB / 0.6843 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.75, allocations: 385.2 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.7501, allocations: 3.938 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.7501, allocations: 1.453 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.7501, allocations: 4 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.7507, allocations: 86.14 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.7508, allocations: 9.234 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.7508, allocations: 7.234 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.7509, allocations: 8.172 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.7509, allocations: 5.484 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.7509, allocations: 5.344 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.7512, allocations: 74.47 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.7512, allocations: 2.812 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.7513, allocations: 32.28 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.7514, allocations: 67.3 kB / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.7515, allocations: 0 / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7515, allocations: 0 / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.7515, allocations: 0.9375 kB / 0.685 GB, free: 15.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004527/0.7519, allocations: 365.1 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.752, allocations: 14.95 kB / 0.6854 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.7521, allocations: 35.36 kB / 0.6854 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7521, allocations: 6.625 kB / 0.6854 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7523, allocations: 173.4 kB / 0.6856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.7523, allocations: 1.75 kB / 0.6856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.7523, allocations: 3 kB / 0.6856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.7525, allocations: 40.81 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7525, allocations: 1.031 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7525, allocations: 0 / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7525, allocations: 1.094 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.7526, allocations: 5.922 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.7529, allocations: 260 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.7531, allocations: 33.33 kB / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.7531, allocations: 0 / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.7533, allocations: 54.92 kB / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 3.237e-06/0.7533, allocations: 0 / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002763/0.7536, allocations: 92.36 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.7536, allocations: 52.59 kB / 0.6861 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.7537, allocations: 105.3 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.7537, allocations: 26.83 kB / 0.6862 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.7538, allocations: 81.89 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.7538, allocations: 11.31 kB / 0.6863 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.7538, allocations: 0 / 0.6863 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.7539, allocations: 317.6 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.7539, allocations: 11.67 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.754, allocations: 32.89 kB / 0.6866 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.7541, allocations: 20.22 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7541, allocations: 1.438 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001643/0.7543, allocations: 75.98 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7543, allocations: 5.828 kB / 0.6867 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7543, allocations: 5.594 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.7543, allocations: 1.344 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7545, allocations: 9.5 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.7545, allocations: 5.125 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.7545, allocations: 5.203 kB / 0.6868 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.7545, allocations: 8.156 kB / 0.6868 GB, free: 13.85 MB / 0.5261 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 7.315e-05/0.7546, allocations: 112.7 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.7547, allocations: 3.375 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.7547, allocations: 11.56 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7547, allocations: 1.766 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7547, allocations: 1.406 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7547, allocations: 0 / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.755, allocations: 303.6 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7551, allocations: 0.7031 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.7551, allocations: 3.422 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7551, allocations: 1.25 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7551, allocations: 1.578 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7551, allocations: 0 / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7552, allocations: 4.609 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.7553, allocations: 161.5 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.7554, allocations: 79.16 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.7554, allocations: 2.25 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.7555, allocations: 5.219 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.7555, allocations: 2.656 kB / 0.6874 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.7556, allocations: 5.938 kB / 0.6874 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.7556, allocations: 93.03 kB / 0.6875 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.432e-06/0.7556, allocations: 0 / 0.6875 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004281/0.756, allocations: 36.16 kB / 0.6876 GB, free: 13.05 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: 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.0008367/0.7569, allocations: 0.7696 MB / 0.6883 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.7571, allocations: 35.42 kB / 0.6884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7571, allocations: 3.938 kB / 0.6884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.7572, allocations: 15.47 kB / 0.6884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.7574, allocations: 9.562 kB / 0.6884 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.7581, allocations: 0.7992 MB / 0.6892 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.7583, allocations: 0.6886 MB / 0.6898 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.7583, allocations: 2.766 kB / 0.6898 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.7584, allocations: 14.53 kB / 0.6899 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/0.7584, allocations: 0 / 0.6899 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.7843, allocations: 1.739 MB / 0.6916 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/0.7846, allocations: 227.8 kB / 0.6918 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.147, allocations: 0 / 0.6918 GB, free: 10.32 MB / 0.5261 GB