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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01116, allocations: 107.5 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.001235/0.001235, allocations: 184.6 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.963/1.963, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.723/2.723, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.0006563, allocations: 16 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7823, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001947/0.7843, allocations: 1.236 MB / 0.6847 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.7851, allocations: 318.5 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.7852, allocations: 1.531 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.7853, allocations: 10.45 kB / 0.685 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.7854, allocations: 22.47 kB / 0.685 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.7858, allocations: 65.19 kB / 0.6851 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.7859, allocations: 70.8 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.7861, allocations: 37.31 kB / 0.6852 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.7862, allocations: 41.3 kB / 0.6852 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.7864, allocations: 45.94 kB / 0.6852 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.7864, allocations: 5.406 kB / 0.6852 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.7866, allocations: 46.84 kB / 0.6853 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.7866, allocations: 26.36 kB / 0.6853 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.7867, allocations: 39.33 kB / 0.6854 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.787, allocations: 135.8 kB / 0.6855 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.787, allocations: 1.156 kB / 0.6855 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525e-06/0.787, allocations: 0.6094 kB / 0.6855 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.787, allocations: 0 / 0.6855 GB, free: 15.5 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001101/0.7881, allocations: 485.2 kB / 0.6859 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.7882, allocations: 10.11 kB / 0.686 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.7882, allocations: 44.34 kB / 0.686 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.7883, allocations: 22.5 kB / 0.686 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.7885, allocations: 201.3 kB / 0.6862 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7885, allocations: 7.688 kB / 0.6862 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.7886, allocations: 13 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.7895, allocations: 207.9 kB / 0.6864 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7895, allocations: 0 / 0.6864 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.7896, allocations: 5.219 kB / 0.6864 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.7896, allocations: 12.89 kB / 0.6864 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.791, allocations: 260.7 kB / 0.6867 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.7925, allocations: 487.9 kB / 0.6872 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.7933, allocations: 167.2 kB / 0.6873 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.7933, allocations: 4.703 kB / 0.6873 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.7934, allocations: 31.78 kB / 0.6874 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.026e-06/0.7934, allocations: 5.25 kB / 0.6874 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.002416/0.7958, allocations: 0.6328 MB / 0.688 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.7959, allocations: 52.06 kB / 0.688 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.796, allocations: 144.4 kB / 0.6882 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.7961, allocations: 30.27 kB / 0.6882 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.7961, allocations: 110.1 kB / 0.6883 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.7962, allocations: 49.09 kB / 0.6883 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.7962, allocations: 1.219 kB / 0.6883 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.7963, allocations: 322.2 kB / 0.6887 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.797, allocations: 138.9 kB / 0.6888 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.7978, allocations: 141.2 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.7985, allocations: 150.1 kB / 0.6891 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7985, allocations: 0 / 0.6891 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001548/0.8001, allocations: 333.2 kB / 0.6894 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.8001, allocations: 10.67 kB / 0.6894 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8002, allocations: 4 kB / 0.6894 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8002, allocations: 2.25 kB / 0.6894 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.8006, allocations: 49.23 kB / 0.6894 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8006, allocations: 1.344 kB / 0.6894 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.801, allocations: 48.45 kB / 0.6895 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.8011, allocations: 2.906 kB / 0.6895 GB, free: 13.09 MB / 0.5261 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.00014/0.8012, allocations: 127.3 kB / 0.6896 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.8013, allocations: 15.44 kB / 0.6896 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.8013, allocations: 17.55 kB / 0.6897 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/0.8014, allocations: 9.969 kB / 0.6897 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8014, allocations: 0 / 0.6897 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8014, allocations: 4.781 kB / 0.6897 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.8018, allocations: 220.7 kB / 0.6899 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8018, allocations: 1.891 kB / 0.6899 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.8022, allocations: 54.3 kB / 0.6899 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8022, allocations: 3.984 kB / 0.6899 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.8022, allocations: 1.688 kB / 0.6899 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.8022, allocations: 4.953 kB / 0.6899 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8023, allocations: 0.7031 kB / 0.6899 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.8039, allocations: 438.4 kB / 0.6904 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.804, allocations: 90.45 kB / 0.6904 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.8041, allocations: 1 kB / 0.6904 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.8044, allocations: 48.05 kB / 0.6905 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.8046, allocations: 17.56 kB / 0.6905 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.8046, allocations: 6.25 kB / 0.6905 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001053/0.8047, allocations: 114.6 kB / 0.6906 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8047, allocations: 0 / 0.6906 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004393/0.8052, allocations: 41.61 kB / 0.6907 GB, free: 12.3 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: 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.002014/0.8072, allocations: 0.9881 MB / 0.6916 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.8088, allocations: 308.8 kB / 0.6919 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8089, allocations: 0 / 0.6919 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.8096, allocations: 161.1 kB / 0.6921 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.8101, allocations: 23.27 kB / 0.6921 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.8141, allocations: 1.196 MB / 0.6933 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.8144, allocations: 0.7281 MB / 0.694 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000189/0.8146, allocations: 15.73 kB / 0.694 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.8148, allocations: 34.94 kB / 0.694 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.8148, allocations: 0 / 0.694 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.8429, allocations: 2.957 MB / 0.6969 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.8432, allocations: 189.8 kB / 0.6971 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.573, allocations: 0 / 0.6971 GB, free: 9.254 MB / 0.5261 GB