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.001196/0.001196, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.287/1.287, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.577/1.577, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001261/0.001261, allocations: 66.08 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1886, allocations: 114.6 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001775/0.1904, allocations: 0.8878 MB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1916, allocations: 1.016 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1917, allocations: 4 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.39e-05/0.1918, allocations: 7.922 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1918, allocations: 11.86 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1921, allocations: 79.86 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1923, allocations: 115.7 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1924, allocations: 53.38 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/0.1925, allocations: 51.78 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1925, allocations: 59.75 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1926, allocations: 12 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1927, allocations: 59.95 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.1927, allocations: 43.78 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.1928, allocations: 51.67 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.193, allocations: 191.7 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.193, allocations: 0 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.193, allocations: 0 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.193, allocations: 4 kB / 0.7856 GB, free: 11.09 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.0006858/0.1937, allocations: 482.7 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1938, allocations: 11.97 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1938, allocations: 42.73 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1938, allocations: 16.75 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.194, allocations: 204 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.194, allocations: 12.38 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.194, allocations: 4.375 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.1945, allocations: 185 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1945, allocations: 3.938 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1946, allocations: 0 / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.1946, allocations: 15.98 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.1952, allocations: 199.8 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.196, allocations: 464.3 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.1964, allocations: 138.4 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.1967, allocations: 136.7 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1968, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.1968, allocations: 34.56 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.1968, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001109/0.1979, allocations: 391.5 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.198, allocations: 55.41 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1981, allocations: 156.6 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1981, allocations: 29.64 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.1982, allocations: 104.4 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1982, allocations: 51.36 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.1983, allocations: 25.7 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1984, allocations: 322.8 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.1987, allocations: 115.9 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.1991, allocations: 115.9 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.1997, allocations: 239.7 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1997, allocations: 0 / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007049/0.2004, allocations: 281.2 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2005, allocations: 4 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2005, allocations: 3.984 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2005, allocations: 3.938 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2007, allocations: 43.89 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2007, allocations: 3.938 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.2009, allocations: 31.86 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2009, allocations: 8 kB / 0.7893 GB, free: 7.012 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 9.515e-05/0.201, allocations: 121.8 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.201, allocations: 7.906 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.2011, allocations: 16.84 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.2011, allocations: 15.98 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2011, allocations: 3.938 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2011, allocations: 3.938 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.2013, allocations: 233.4 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2014, allocations: 0 / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.2016, allocations: 35.95 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2016, allocations: 0 / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2016, allocations: 4 kB / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2016, allocations: 0 / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2016, allocations: 3.938 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.2024, allocations: 375.2 kB / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.2024, allocations: 88.86 kB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2025, allocations: 8 kB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2027, allocations: 27.95 kB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.2027, allocations: 19.91 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.2028, allocations: 4 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.2028, allocations: 111.2 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2028, allocations: 0 / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002701/0.2031, allocations: 40 kB / 0.7904 GB, free: 5.816 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.001097/0.2042, allocations: 0.9335 MB / 0.7913 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000725/0.2049, allocations: 263.8 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.205, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.2053, allocations: 139.8 kB / 0.7917 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2057, allocations: 27.92 kB / 0.7917 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.2087, allocations: 2.201 MB / 0.7939 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2089, allocations: 0.7197 MB / 0.7946 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.45e-05/0.209, allocations: 19.97 kB / 0.7946 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2091, allocations: 43.36 kB / 0.7946 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2091, allocations: 0 / 0.7946 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/0.4714, allocations: 3.167 MB / 0.7977 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/0.4718, allocations: 203.1 kB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.596, allocations: 3.938 kB / 0.7979 GB, free: 14.06 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)