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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.145/4.145, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.273e-05, allocations: 12.22 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.4396, allocations: 124.6 MB / 0.7564 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.44, allocations: 67.97 kB / 0.7565 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.4573, allocations: 3.597 MB / 0.76 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4573, allocations: 0 / 0.76 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.4573, allocations: 4 kB / 0.76 GB, free: 1.426 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.001154/0.4585, allocations: 482 kB / 0.7605 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4586, allocations: 8.031 kB / 0.7605 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.4586, allocations: 42.56 kB / 0.7605 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4587, allocations: 23.73 kB / 0.7605 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.459, allocations: 201.2 kB / 0.7607 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.459, allocations: 8 kB / 0.7607 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.459, allocations: 4 kB / 0.7607 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.4594, allocations: 128.4 kB / 0.7608 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4594, allocations: 0 / 0.7608 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4595, allocations: 4 kB / 0.7609 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4595, allocations: 0 / 0.7609 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4598, allocations: 83.97 kB / 0.7609 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.4613, allocations: 0.5235 MB / 0.7614 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4615, allocations: 74.56 kB / 0.7615 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.4617, allocations: 68.84 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.4618, allocations: 7.938 kB / 0.7616 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4618, allocations: 42.55 kB / 0.7616 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.497e-06/0.4619, allocations: 0 / 0.7616 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004985/0.4624, allocations: 161.3 kB / 0.7618 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4624, allocations: 55.41 kB / 0.7618 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.4626, allocations: 127.7 kB / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4626, allocations: 25.7 kB / 0.762 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.4627, allocations: 116.4 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.4628, allocations: 51.36 kB / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4628, allocations: 0 / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.463, allocations: 322.8 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4632, allocations: 55.98 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.4633, allocations: 51.92 kB / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.4635, allocations: 67.92 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4635, allocations: 0 / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004233/0.4639, allocations: 161.4 kB / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.464, allocations: 8 kB / 0.7628 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.464, allocations: 4 kB / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.464, allocations: 0 / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.4645, allocations: 47.95 kB / 0.7628 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4645, allocations: 240 / 0.7628 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.4649, allocations: 59.8 kB / 0.7629 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.465, allocations: 0 / 0.7629 GB, free: 14.24 MB / 0.6511 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 9.95e-05/0.4651, allocations: 112.9 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.4651, allocations: 11.91 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.4657, allocations: 190.1 kB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4657, allocations: 4 kB / 0.7632 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4657, allocations: 0 / 0.7632 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4657, allocations: 3.984 kB / 0.7632 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.4661, allocations: 245.8 kB / 0.7634 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.4661, allocations: 0 / 0.7634 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.4665, allocations: 51.95 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4666, allocations: 0 / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4666, allocations: 0 / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4666, allocations: 4.078 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4666, allocations: 3.984 kB / 0.7635 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.4671, allocations: 275.3 kB / 0.7637 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.4672, allocations: 88.97 kB / 0.7638 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.4672, allocations: 0 / 0.7638 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.4677, allocations: 47.95 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.4678, allocations: 11.98 kB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.4678, allocations: 0 / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001071/0.4679, allocations: 117.8 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4679, allocations: 0 / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004007/0.4683, allocations: 55.77 kB / 0.7641 GB, free: 12.95 MB / 0.6511 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.0009028/0.4693, allocations: 0.8217 MB / 0.7649 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.4697, allocations: 203.3 kB / 0.7651 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4698, allocations: 4 kB / 0.7651 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.47, allocations: 135.4 kB / 0.7652 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4703, allocations: 18.48 kB / 0.7652 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.4712, allocations: 279.3 kB / 0.7655 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4716, allocations: 0.7201 MB / 0.7662 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000136/0.4717, allocations: 11.98 kB / 0.7662 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4719, allocations: 39.42 kB / 0.7662 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/0.4719, allocations: 4 kB / 0.7662 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.4986, allocations: 3.093 MB / 0.7692 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/0.499, allocations: 160.3 kB / 0.7694 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.98, allocations: 4 kB / 0.7694 GB, free: 7.363 MB / 0.6511 GB