Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001538, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 190.5 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 71 kB / 0.6718 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.276, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.003012/0.2791, allocations: 0.8265 MB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2807, allocations: 1.007 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.2808, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2809, allocations: 19.8 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.281, allocations: 11.81 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.2815, allocations: 91.81 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.2816, allocations: 119.6 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.2818, allocations: 57.38 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.2819, allocations: 47.84 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.282, allocations: 63.73 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2821, allocations: 15.94 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2822, allocations: 95.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.2823, allocations: 27.92 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.2824, allocations: 59.59 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.2826, allocations: 199.5 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2826, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.975e-06/0.2827, allocations: 4 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2827, allocations: 4 kB / 0.7862 GB, free: 10.6 MB / 0.6075 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.000916/0.2836, allocations: 477.2 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2836, allocations: 8.031 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.2837, allocations: 42.73 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2838, allocations: 12.75 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.284, allocations: 208 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2841, allocations: 4.375 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2841, allocations: 16.34 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.2846, allocations: 181.4 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2847, allocations: 7.938 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2847, allocations: 4 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.2847, allocations: 19.94 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.2854, allocations: 199.8 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.2863, allocations: 452.3 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.2867, allocations: 150.4 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.2871, allocations: 128.7 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2871, allocations: 0 / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2872, allocations: 34.56 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2872, allocations: 0 / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001193/0.2884, allocations: 400.4 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2884, allocations: 51.41 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2886, allocations: 152.6 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2886, allocations: 29.7 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2887, allocations: 108.4 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2887, allocations: 43.3 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.2888, allocations: 25.78 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2889, allocations: 330.8 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.2893, allocations: 107.9 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.2896, allocations: 115.9 kB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.2903, allocations: 240.6 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2903, allocations: 0 / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007436/0.2911, allocations: 277.2 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2911, allocations: 4 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2911, allocations: 4 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2911, allocations: 0 / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2914, allocations: 39.83 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2914, allocations: 3.938 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.2915, allocations: 43.86 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2916, allocations: 0 / 0.79 GB, free: 6.531 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2917, allocations: 125.8 kB / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.2917, allocations: 7.906 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.2918, allocations: 16.83 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.2918, allocations: 8 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.2918, allocations: 3.938 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2918, allocations: 4 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.2921, allocations: 237.4 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2921, allocations: 0 / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2923, allocations: 35.89 kB / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2923, allocations: 0 / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2923, allocations: 7.984 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2923, allocations: 0 / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2923, allocations: 3.938 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.2932, allocations: 377.4 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2932, allocations: 96.84 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2932, allocations: 4 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2934, allocations: 31.95 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.2935, allocations: 15.92 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2935, allocations: 4 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.2936, allocations: 111.2 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2936, allocations: 0 / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003015/0.2939, allocations: 43.98 kB / 0.7911 GB, free: 5.324 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.2953, allocations: 0.9308 MB / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008427/0.2961, allocations: 248.2 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2961, allocations: 0 / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.2965, allocations: 139.8 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.297, allocations: 34.88 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.3005, allocations: 2.176 MB / 0.7945 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.301, allocations: 0.7196 MB / 0.7952 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.3011, allocations: 27.95 kB / 0.7952 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.3012, allocations: 35.42 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.3012, allocations: 0 / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.3214, allocations: 3.525 MB / 0.7987 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.809, allocations: 10.03 kB / 0.7987 GB, free: 13.47 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)