Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.01021/0.01022, allocations: 89 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.001173/0.001173, allocations: 174.3 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.05/2.05, 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.364/2.364, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005692, allocations: 11.34 kB / 0.6243 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2339, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008358/0.2348, allocations: 289 kB / 0.7284 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 3.216e-05/0.2348, allocations: 3.938 kB / 0.7284 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2349, allocations: 0 / 0.7284 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.2349, allocations: 0 / 0.7284 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.572e-05/0.2349, allocations: 0 / 0.7284 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.261e-05/0.235, allocations: 4 kB / 0.7284 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.235, allocations: 15.92 kB / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.2351, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.2351, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.2351, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2352, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.2352, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.2352, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.2352, allocations: 25.7 kB / 0.7284 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.101e-05/0.2353, allocations: 7.938 kB / 0.7284 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2353, allocations: 0 / 0.7284 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2353, allocations: 0 / 0.7284 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2353, allocations: 4 kB / 0.7284 GB, free: 7.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002915/0.2356, allocations: 307.4 kB / 0.7287 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.2357, allocations: 12.09 kB / 0.7287 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.2357, allocations: 30.56 kB / 0.7288 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.2358, allocations: 0 / 0.7288 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2359, allocations: 167 kB / 0.7289 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2359, allocations: 0 / 0.7289 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2359, allocations: 0 / 0.7289 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.236, allocations: 33.7 kB / 0.7289 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2361, allocations: 0 / 0.7289 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2361, allocations: 3.984 kB / 0.729 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2361, allocations: 0 / 0.729 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.2361, allocations: 3.938 kB / 0.729 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.2365, allocations: 389 kB / 0.7293 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.2366, allocations: 173.1 kB / 0.7295 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.2366, allocations: 79.31 kB / 0.7296 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.2367, allocations: 105.8 kB / 0.7297 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 5.049e-06/0.2367, allocations: 3.984 kB / 0.7297 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.626e-05/0.2368, allocations: 33.64 kB / 0.7297 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2368, allocations: 126.7 kB / 0.7298 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.2369, allocations: 101.8 kB / 0.7299 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2369, allocations: 25.7 kB / 0.7299 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.237, allocations: 80.14 kB / 0.73 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.237, allocations: 0 / 0.73 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.237, allocations: 0 / 0.73 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2371, allocations: 326.8 kB / 0.7303 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.2371, allocations: 0 / 0.7303 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.2372, allocations: 0 / 0.7303 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.2372, allocations: 75.41 kB / 0.7304 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.2372, allocations: 79.28 kB / 0.7305 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.159e-05/0.2373, allocations: 33.64 kB / 0.7305 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.2374, allocations: 79.28 kB / 0.7306 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.2374, allocations: 75.28 kB / 0.7307 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.627e-05/0.2375, allocations: 158.5 kB / 0.7308 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.2375, allocations: 79.28 kB / 0.7309 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.672e-05/0.2376, allocations: 158.5 kB / 0.731 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.2377, allocations: 83.17 kB / 0.7311 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2377, allocations: 79.28 kB / 0.7312 GB, free: 4.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001169/0.2378, allocations: 260.4 kB / 0.7314 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.2379, allocations: 108.9 kB / 0.7315 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.238, allocations: 104.1 kB / 0.7316 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/0.238, allocations: 184.2 kB / 0.7318 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/0.2382, allocations: 188.2 kB / 0.732 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-05/0.2382, allocations: 177 kB / 0.7322 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.2385, allocations: 405.1 kB / 0.7326 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/0.2386, allocations: 105 kB / 0.7327 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.2386, allocations: 105 kB / 0.7328 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.2387, allocations: 184.2 kB / 0.7329 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.2388, allocations: 176.3 kB / 0.7331 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-05/0.2388, allocations: 188.5 kB / 0.7333 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-05/0.2389, allocations: 184.2 kB / 0.7335 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2391, allocations: 315.8 kB / 0.7338 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.2392, allocations: 182.1 kB / 0.7339 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.2393, allocations: 180.2 kB / 0.7341 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.2394, allocations: 105 kB / 0.7342 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2394, allocations: 184.1 kB / 0.7344 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.2395, allocations: 109 kB / 0.7345 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.2396, allocations: 79.28 kB / 0.7346 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2396, allocations: 0 / 0.7346 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003075/0.2399, allocations: 0 / 0.7346 GB, free: 0.9883 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004235/0.2403, allocations: 0.8204 MB / 0.7354 GB, free: 140 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 3.925e-05/0.2404, allocations: 3.938 kB / 0.7354 GB, free: 136 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2404, allocations: 0 / 0.7354 GB, free: 136 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.2404, allocations: 0 / 0.7354 GB, free: 136 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2407, allocations: 0.5146 MB / 0.7359 GB, free: 15.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.2414, allocations: 0.5057 MB / 0.7364 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.2416, allocations: 0.6732 MB / 0.737 GB, free: 14.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.756e-06/0.2416, allocations: 0 / 0.737 GB, free: 14.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2417, allocations: 7.438 kB / 0.737 GB, free: 14.35 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/0.2417, allocations: 0 / 0.737 GB, free: 14.35 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2623, allocations: 0.7184 MB / 0.7377 GB, free: 13.73 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/0.2627, allocations: 202.5 kB / 0.7379 GB, free: 13.49 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.475, allocations: 4 kB / 0.7379 GB, free: 13.48 MB / 0.573 GB