Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.212/4.212, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.273e-05, allocations: 9.562 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4312, allocations: 123.9 MB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4315, allocations: 71.95 kB / 0.75 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.4481, allocations: 3.576 MB / 0.7535 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4482, allocations: 0 / 0.7535 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.4482, allocations: 4 kB / 0.7535 GB, free: 9.355 MB / 0.6355 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.001109/0.4493, allocations: 485.9 kB / 0.754 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4494, allocations: 12.03 kB / 0.754 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.4495, allocations: 15.77 kB / 0.754 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.4497, allocations: 207.6 kB / 0.7542 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4498, allocations: 4 kB / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.4498, allocations: 4 kB / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002746/0.4501, allocations: 79.92 kB / 0.7543 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.4504, allocations: 109.6 kB / 0.7544 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4504, allocations: 0 / 0.7544 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4504, allocations: 3.938 kB / 0.7544 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4504, allocations: 4 kB / 0.7544 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.4519, allocations: 0.4889 MB / 0.7549 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4521, allocations: 74.56 kB / 0.7549 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.4522, allocations: 64.84 kB / 0.755 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.4523, allocations: 8 kB / 0.755 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4523, allocations: 34.56 kB / 0.755 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/0.4524, allocations: 0 / 0.755 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005342/0.4529, allocations: 161.4 kB / 0.7552 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.453, allocations: 51.41 kB / 0.7553 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4531, allocations: 128.5 kB / 0.7554 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4531, allocations: 25.7 kB / 0.7554 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.4532, allocations: 112.4 kB / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.4533, allocations: 43.36 kB / 0.7555 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.4533, allocations: 0 / 0.7555 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4535, allocations: 327.4 kB / 0.7559 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4537, allocations: 47.98 kB / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.4538, allocations: 55.92 kB / 0.756 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4541, allocations: 75.97 kB / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4541, allocations: 0 / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004511/0.4545, allocations: 161.4 kB / 0.7562 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4546, allocations: 4 kB / 0.7562 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.4546, allocations: 8 kB / 0.7562 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4546, allocations: 0 / 0.7562 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.4551, allocations: 47.89 kB / 0.7562 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4551, allocations: 4 kB / 0.7562 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.4555, allocations: 51.88 kB / 0.7563 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.4555, allocations: 7.984 kB / 0.7563 GB, free: 6.293 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001368/0.4557, allocations: 101.7 kB / 0.7564 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004518/0.4561, allocations: 169.4 kB / 0.7566 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.4562, allocations: 11.81 kB / 0.7566 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.4567, allocations: 190.2 kB / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4567, allocations: 0 / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4568, allocations: 0 / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4568, allocations: 0 / 0.7568 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.4571, allocations: 222.1 kB / 0.757 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.4571, allocations: 0 / 0.757 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.4575, allocations: 55.95 kB / 0.757 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4576, allocations: 0 / 0.757 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4576, allocations: 0 / 0.757 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4576, allocations: 0 / 0.757 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.4576, allocations: 4 kB / 0.757 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.4581, allocations: 267.2 kB / 0.7573 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.4582, allocations: 92.91 kB / 0.7574 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4582, allocations: 0 / 0.7574 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.4586, allocations: 43.95 kB / 0.7574 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.4587, allocations: 11.98 kB / 0.7574 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4588, allocations: 4 kB / 0.7574 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.562e-05/0.4589, allocations: 109.5 kB / 0.7575 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4589, allocations: 0 / 0.7575 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004191/0.4593, allocations: 47.88 kB / 0.7576 GB, free: 4.906 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009603/0.4603, allocations: 0.8293 MB / 0.7584 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.4607, allocations: 195.3 kB / 0.7586 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4607, allocations: 0 / 0.7586 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.461, allocations: 139.4 kB / 0.7587 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.4613, allocations: 15.98 kB / 0.7587 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.4622, allocations: 262.5 kB / 0.759 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4626, allocations: 0.7276 MB / 0.7597 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.4628, allocations: 11.98 kB / 0.7597 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4629, allocations: 39.42 kB / 0.7597 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of SimCode: time 2.866e-06/0.4629, allocations: 0 / 0.7597 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.5001, allocations: 2.704 MB / 0.7624 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.5003, allocations: 142.8 kB / 0.7625 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.869, allocations: 7.938 kB / 0.7625 GB, free: 15.7 MB / 0.6511 GB