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.Continuous.Validation.Sort.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.Continuous.Validation.Sort,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.01025/0.01026, allocations: 92.91 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.001166/0.001166, allocations: 170 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.196/2.196, 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.356/2.356, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 15.03 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002132/0.2249, allocations: 1.253 MB / 0.7293 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.2258, allocations: 324.7 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.2259, allocations: 0 / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.226, allocations: 7.922 kB / 0.7296 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.2261, allocations: 27.84 kB / 0.7297 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.2265, allocations: 59.92 kB / 0.7297 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2267, allocations: 71.84 kB / 0.7298 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.2268, allocations: 41.36 kB / 0.7298 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.2269, allocations: 39.83 kB / 0.7299 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.2271, allocations: 47.83 kB / 0.7299 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2271, allocations: 4 kB / 0.7299 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.2272, allocations: 47.91 kB / 0.73 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.2273, allocations: 27.89 kB / 0.73 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.2274, allocations: 41.64 kB / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.2276, allocations: 127.7 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2276, allocations: 0 / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2276, allocations: 0 / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2277, allocations: 4 kB / 0.7302 GB, free: 7.984 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001169/0.2288, allocations: 487 kB / 0.7306 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2289, allocations: 8.031 kB / 0.7306 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.626e-05/0.229, allocations: 42.55 kB / 0.7307 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.229, allocations: 15.81 kB / 0.7307 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2293, allocations: 214.7 kB / 0.7309 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2293, allocations: 4 kB / 0.7309 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2294, allocations: 8 kB / 0.7309 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.2303, allocations: 209.5 kB / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2303, allocations: 0 / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2304, allocations: 0 / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/0.2305, allocations: 15.98 kB / 0.7311 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.2319, allocations: 263.7 kB / 0.7314 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2334, allocations: 496.3 kB / 0.7318 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.2342, allocations: 162.5 kB / 0.732 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2342, allocations: 3.953 kB / 0.732 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2343, allocations: 30.56 kB / 0.732 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.2343, allocations: 0 / 0.732 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.00247/0.2368, allocations: 0.6166 MB / 0.7326 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.2368, allocations: 59.41 kB / 0.7327 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.237, allocations: 149.1 kB / 0.7328 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2371, allocations: 25.7 kB / 0.7328 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.2372, allocations: 112.4 kB / 0.733 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.2373, allocations: 55.2 kB / 0.733 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.2373, allocations: 4.062 kB / 0.733 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2374, allocations: 322.8 kB / 0.7333 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.2382, allocations: 139.9 kB / 0.7335 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.239, allocations: 139.9 kB / 0.7336 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.2397, allocations: 141.9 kB / 0.7337 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2397, allocations: 4 kB / 0.7337 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001567/0.2413, allocations: 329.3 kB / 0.734 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2414, allocations: 11.89 kB / 0.7341 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2414, allocations: 7.938 kB / 0.7341 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2414, allocations: 4 kB / 0.7341 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.2418, allocations: 47.95 kB / 0.7341 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2419, allocations: 0 / 0.7341 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.2422, allocations: 51.89 kB / 0.7342 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2423, allocations: 0 / 0.7342 GB, free: 3.617 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001768/0.2424, allocations: 129.8 kB / 0.7343 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.2425, allocations: 11.81 kB / 0.7343 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.2426, allocations: 16.8 kB / 0.7343 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/0.2426, allocations: 11.98 kB / 0.7343 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2426, allocations: 0 / 0.7343 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2426, allocations: 0 / 0.7343 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.243, allocations: 237.5 kB / 0.7345 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2431, allocations: 0 / 0.7345 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.2434, allocations: 47.95 kB / 0.7346 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2435, allocations: 0 / 0.7346 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2435, allocations: 8 kB / 0.7346 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2435, allocations: 3.953 kB / 0.7346 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2435, allocations: 3.938 kB / 0.7346 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2451, allocations: 430.5 kB / 0.735 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.2452, allocations: 88.95 kB / 0.7351 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2453, allocations: 0 / 0.7351 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.2457, allocations: 47.89 kB / 0.7351 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.2458, allocations: 19.92 kB / 0.7352 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.2458, allocations: 4 kB / 0.7352 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001088/0.2459, allocations: 107.3 kB / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2459, allocations: 0 / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003986/0.2464, allocations: 43.89 kB / 0.7353 GB, free: 2.34 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.002147/0.2485, allocations: 0.9895 MB / 0.7363 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.2501, allocations: 307.7 kB / 0.7366 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2501, allocations: 0 / 0.7366 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.251, allocations: 163.8 kB / 0.7367 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.2514, allocations: 23.92 kB / 0.7368 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.2553, allocations: 1.181 MB / 0.7379 GB, free: 15.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2557, allocations: 0.7201 MB / 0.7386 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.2559, allocations: 23.92 kB / 0.7386 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2561, allocations: 39.42 kB / 0.7387 GB, free: 14.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.483e-06/0.2561, allocations: 0 / 0.7387 GB, free: 14.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2843, allocations: 2.963 MB / 0.7416 GB, free: 11.96 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.2847, allocations: 183.8 kB / 0.7417 GB, free: 11.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/2.89, allocations: 0 / 0.7417 GB, free: 11.73 MB / 0.573 GB